mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Touch up completions for builtin commands
darcs-hash:20061120152518-ac50b-cbd3d14af4fd2d67304278d442443decbac1ef7c.gz
This commit is contained in:
parent
125ca9ff73
commit
1145a5d483
21 changed files with 49 additions and 0 deletions
2
share/completions/and.fish
Normal file
2
share/completions/and.fish
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
complete -c and -s h -l help -d (N_ "Display help and exit" )
|
2
share/completions/bg.fish
Normal file
2
share/completions/bg.fish
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
complete -c bg -s h -l help -d (N_ "Display help and exit" )
|
3
share/completions/bind.fish
Normal file
3
share/completions/bind.fish
Normal 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" )
|
5
share/completions/block.fish
Normal file
5
share/completions/block.fish
Normal 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" )
|
2
share/completions/break.fish
Normal file
2
share/completions/break.fish
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
complete -c break -s h -l help -d (N_ "Display help and exit" )
|
3
share/completions/builtin.fish
Normal file
3
share/completions/builtin.fish
Normal 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" )
|
2
share/completions/case.fish
Normal file
2
share/completions/case.fish
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
complete -c case -s h -l help -d (N_ "Display help and exit" )
|
|
@ -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" )
|
||||||
|
|
2
share/completions/command.fish
Normal file
2
share/completions/command.fish
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
complete -c command -s h -l help -d (N_ "Display help and exit" )
|
|
@ -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")
|
||||||
|
|
3
share/completions/continue.fish
Normal file
3
share/completions/continue.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
|
||||||
|
complete -c continue -s h -l help -d (N_ "Display help and exit" )
|
||||||
|
|
2
share/completions/eval.fish
Normal file
2
share/completions/eval.fish
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
complete -c eval -s h -l help -d (N_ "Display help and exit" )
|
2
share/completions/exec.fish
Normal file
2
share/completions/exec.fish
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
complete -c exec -s h -l help -d (N_ "Display help and exit" )
|
4
share/completions/exit.fish
Normal file
4
share/completions/exit.fish
Normal 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"
|
2
share/completions/fg.fish
Normal file
2
share/completions/fg.fish
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
complete -c fg -s h -l help -d (N_ "Display help and exit" )
|
|
@ -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")
|
||||||
|
|
2
share/completions/not.fish
Normal file
2
share/completions/not.fish
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
complete -c not -s h -l help -d (N_ "Display help and exit" )
|
2
share/completions/or.fish
Normal file
2
share/completions/or.fish
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
complete -c or -s h -l help -d (N_ "Display help and exit" )
|
2
share/completions/random.fish
Normal file
2
share/completions/random.fish
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
complete -c random -s h -l help -d (N_ "Display help and exit" )
|
4
share/completions/return.fish
Normal file
4
share/completions/return.fish
Normal 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"
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue