Fix ls on darwin
Anirudh Oppiliappan x@icyphox.sh
Wed, 07 Apr 2021 21:10:57 +0530
1 files changed,
7 insertions(+),
2 deletions(-)
jump to
M
config/fish/functions/ls.fish
→
config/fish/functions/ls.fish
@@ -1,4 +1,9 @@
# Defined in - @ line 1 -function ls --wraps='colorls -G' --description 'alias ls=colorls -G' - colorls -G $argv; +function ls --description 'alias ls=colorls -G' + switch (uname) + case OpenBSD + colorls -G $argv + case Darwin + /bin/ls -G $argv + end end