mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
ls completions: fix mistake.
This commit is contained in:
parent
e89035d76c
commit
c2ae163bfe
1 changed files with 7 additions and 6 deletions
|
@ -145,12 +145,13 @@ else
|
|||
complete -c ls -s h -d "Human-readable sizes"
|
||||
test "$uname" = OpenBSD # no arguments supported after -h on OpenBSD. See table above
|
||||
and exit 0
|
||||
test "$uname" != SunOS
|
||||
and complete -c ls -s B -d "Octal escapes for non-graphic characters"
|
||||
complete -c ls -s b -d "C escapes for non-graphic characters"
|
||||
complete -c ls -s W -d "Display whiteouts when scanning directories"
|
||||
complete -c ls -s w -d "Force raw printing of non-printable characters"
|
||||
complete -c ls -s P -d "Don't follow symlinks"
|
||||
if [ "$uname" != SunOS ]
|
||||
complete -c ls -s B -d "Octal escapes for non-graphic characters"
|
||||
complete -c ls -s b -d "C escapes for non-graphic characters"
|
||||
complete -c ls -s W -d "Display whiteouts when scanning directories"
|
||||
complete -c ls -s w -d "Force raw printing of non-printable characters"
|
||||
complete -c ls -s P -d "Don't follow symlinks"
|
||||
end
|
||||
if [ "$uname" = NetBSD ]
|
||||
complete -c ls -s X -d "Don't cross mount points when recursing"
|
||||
complete -c ls -s M -d "for -l, -s: Format size/count with commas"
|
||||
|
|
Loading…
Reference in a new issue