1
Fork 0
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:
Steffo 2024-10-28 12:41:40 +01:00
parent cb6235c606
commit 9e45ad6c8b
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

6
functions/tree.fish Normal file
View 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