Add a few missing completions for the ls command

darcs-hash:20061111113315-ac50b-2a77e93a78571e1e83801128c1793c52bb03e13f.gz
This commit is contained in:
axel 2006-11-11 21:33:15 +10:00
parent d59d3b4463
commit 816f473ac9

View file

@ -44,8 +44,13 @@ function __fish_complete_ls -d "Compleletions for ls and its aliases"
if test -n "$is_gnu"
# GNU specific features
# GNU specific ls switches
complete $cmds -l hide -d (N_ "Do not list implied entries matching specified shell pattern") -r
complete $cmds -l lcontext -d (N_ "Display security context")
complete $cmds -l context -s Z -d (N_ "Display security context so it fits on most displays")
complete $cmds -l scontext -d (N_ "Display only security context and file name")
complete $cmds -l author -d (N_ "Print author")
complete $cmds -l blocksize -x -d (N_ "Set block size")
complete $cmds -s B -l ignore-backups -d (N_ "Ignore files ending with ~")