Touch up completions for builtin commands

darcs-hash:20061120152518-ac50b-cbd3d14af4fd2d67304278d442443decbac1ef7c.gz
This commit is contained in:
axel 2006-11-21 01:25:18 +10:00
parent 125ca9ff73
commit 1145a5d483
21 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,2 @@
complete -c and -s h -l help -d (N_ "Display help and exit" )

View file

@ -0,0 +1,2 @@
complete -c bg -s h -l help -d (N_ "Display help and exit" )

View file

@ -0,0 +1,3 @@
complete -c bind -s h -l help -d (N_ "Display help and exit"
complete -c bind -s M -l set-mode -d (N_ "Change input mode" )

View file

@ -0,0 +1,5 @@
complete -c block -s h -l help -d (N_ "Display help and exit" )
complete -c block -s e -l erase -d (N_ "Remove the topmost global event block" )
complete -c block -s l -l local -d (N_ "Create a local (automatically erased) event block" )
complete -c block -s g -l global -d (N_ "Create a global (manually erased) event block" )

View file

@ -0,0 +1,2 @@
complete -c break -s h -l help -d (N_ "Display help and exit" )

View file

@ -0,0 +1,3 @@
complete -c builtin -s h -l help -d (N_ "Display help and exit" )
complete -c builtin -s n -l names -d (N_ "Print names of all existing builtins" )

View file

@ -0,0 +1,2 @@
complete -c case -s h -l help -d (N_ "Display help and exit" )

View file

@ -1,2 +1,3 @@
complete -x -c cd -a "(__fish_complete_cd)" complete -x -c cd -a "(__fish_complete_cd)"
complete -c cd -s h -l help -d (N_ "Display help and exit" )

View file

@ -0,0 +1,2 @@
complete -c command -s h -l help -d (N_ "Display help and exit" )

View file

@ -1,3 +1,5 @@
complete -c commandline -s h -l help -d (N_ "Display help and exit")
complete -c commandline -s a -l append -d (N_ "Add text to the end of the selected area") complete -c commandline -s a -l append -d (N_ "Add text to the end of the selected area")
complete -c commandline -s i -l insert -d (N_ "Add text at cursor") complete -c commandline -s i -l insert -d (N_ "Add text at cursor")
complete -c commandline -s r -l replace -d (N_ "Replace selected part") complete -c commandline -s r -l replace -d (N_ "Replace selected part")

View file

@ -0,0 +1,3 @@
complete -c continue -s h -l help -d (N_ "Display help and exit" )

View file

@ -0,0 +1,2 @@
complete -c eval -s h -l help -d (N_ "Display help and exit" )

View file

@ -0,0 +1,2 @@
complete -c exec -s h -l help -d (N_ "Display help and exit" )

View file

@ -0,0 +1,4 @@
complete -c exit -s h -l help -d (N_ "Display help and exit" )
complete -c exit -x -a 0 -d "Quit with normal exit status"
complete -c exit -x -a 1 -d "Quit with abnormal exit status"

View file

@ -0,0 +1,2 @@
complete -c fg -s h -l help -d (N_ "Display help and exit" )

View file

@ -1,5 +1,6 @@
complete -c jobs -s h -l help -d (N_ "Display help and exit" )
complete -c jobs -s p -l pid -d (N_ "Show the process id of each process in the job") complete -c jobs -s p -l pid -d (N_ "Show the process id of each process in the job")
complete -c jobs -s g -l group -d (N_ "Show group id of job") complete -c jobs -s g -l group -d (N_ "Show group id of job")
complete -c jobs -s c -l command -d (N_ "Show commandname of each job") complete -c jobs -s c -l command -d (N_ "Show commandname of each job")

View file

@ -0,0 +1,2 @@
complete -c not -s h -l help -d (N_ "Display help and exit" )

View file

@ -0,0 +1,2 @@
complete -c or -s h -l help -d (N_ "Display help and exit" )

View file

@ -0,0 +1,2 @@
complete -c random -s h -l help -d (N_ "Display help and exit" )

View file

@ -0,0 +1,4 @@
complete -c return -s h -l help -d (N_ "Display help and exit" )
complete -c return -x -a 0 -d "Return from function with normal exit status"
complete -c return -x -a 1 -d "Return from function with abnormal exit status"

View file

@ -1,4 +1,5 @@
complete -c status -s h -l help -d (N_ "Display help and exit" )
complete -c status -l is-command-substitution -d (N_ "Test if a command substitution is currently evaluated") complete -c status -l is-command-substitution -d (N_ "Test if a command substitution is currently evaluated")
complete -c status -l is-block -d (N_ "Test if a code block is currently evaluated") complete -c status -l is-block -d (N_ "Test if a code block is currently evaluated")
complete -c status -l is-interactive -d (N_ "Test if this is an interactive shell") complete -c status -l is-interactive -d (N_ "Test if this is an interactive shell")