mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 03:03:57 +08:00
Fix switch statement
This commit is contained in:
parent
4ceb21cf09
commit
d065ff840d
|
@ -157,16 +157,16 @@ else
|
|||
complete -c ls -s w -d "Force raw printing of non-printable characters"
|
||||
complete -c ls -s P -d "Don't follow symlinks"
|
||||
switch "$uname"
|
||||
case NetBSD:
|
||||
case 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"
|
||||
complete -c ls -s O -d "Show only leaf files (not dirs), eliding other output"
|
||||
exit 0
|
||||
case Darwin:
|
||||
case Darwin
|
||||
complete -c ls -s O -d "for -l: Show file flags"
|
||||
complete -c ls -s e -d "for -l: Print ACL associated with file, if present"
|
||||
complete -c ls -s @ -d "for -l: Display extended attributes"
|
||||
case FreeBSD:
|
||||
case FreeBSD
|
||||
complete -c ls -s Z -d "Display each file's MAC label"
|
||||
complete -c ls -s y -d "for -t: Sort A-Z output in same order as time output"
|
||||
complete -c ls -s I -d "Prevent -A from being automatically set for root"
|
||||
|
|
Loading…
Reference in New Issue
Block a user