all repos — dotfiles @ c910c80f6037defa36e95fc0cce605d8da382112

my *nix dotfiles

Fix ls on darwin
Anirudh Oppiliappan x@icyphox.sh
Wed, 07 Apr 2021 21:10:57 +0530
commit

c910c80f6037defa36e95fc0cce605d8da382112

parent

69ac8162fd2dd9ac9eeef398e102914b8cd8866a

1 files changed, 7 insertions(+), 2 deletions(-)

jump to
M config/fish/functions/ls.fishconfig/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