Fish: Fix ls function on NetBSD
Apparently `ls ''` shows an error: ls: no such file or directory TIL
This commit is contained in:
parent
6eb5991565
commit
e3adc49796
|
@ -1,7 +1,8 @@
|
|||
function ls
|
||||
set lspath (which ls)
|
||||
if [ (uname) = "NetBSD" ]
|
||||
set __fish_ls_color_opt ""
|
||||
command $lspath $argv
|
||||
return
|
||||
end
|
||||
command $lspath $__fish_ls_color_opt $argv
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue