mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 14:54:23 +00:00
Add tree alias
This commit is contained in:
parent
cb6235c606
commit
9e45ad6c8b
1 changed files with 6 additions and 0 deletions
6
functions/tree.fish
Normal file
6
functions/tree.fish
Normal file
|
@ -0,0 +1,6 @@
|
|||
which tree --skip-functions >/dev/null 2>/dev/null
|
||||
if [ $status -eq 0 ]
|
||||
function tree --wraps="tree -C"
|
||||
command tree -C $argv
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue