1
1
Fork 0
configs/config/fish/functions/ls.fish
Jonathan Schleifer e66fcd297f fish: Slightly change command and operator color
This is the exact same color in Apple Terminal, but improves legibility
in Gnome Terminal.

Also silences stderr from which.
2020-01-22 21:38:12 +00:00

7 lines
164 B
Fish

function ls --description 'List contents of directory'
if which gls >/dev/null ^&1
command gls --color=auto $argv
else
command ls --color=auto $argv
end
end