fish-shell/share/completions/commandline.fish
axel e6409a88d5 Add missing completion for the commandline builtin
darcs-hash:20070118163104-ac50b-e33d3888efa42218881291ce1d2636ca14f10805.gz
2007-01-19 02:31:04 +10:00

18 lines
1.2 KiB
Fish

complete -c commandline -s h -l help --description "Display help and exit"
complete -c commandline -s a -l append --description "Add text to the end of the selected area"
complete -c commandline -s i -l insert --description "Add text at cursor"
complete -c commandline -s r -l replace --description "Replace selected part"
complete -c commandline -s j -l current-job --description "Select job under cursor"
complete -c commandline -s p -l current-process --description "Select process under cursor"
complete -c commandline -s t -l current-token --description "Select token under cursor"
complete -c commandline -s b -l current-buffer --description "Select entire command line (default)"
complete -c commandline -s c -l cut-at-cursor --description "Only return that part of the command line before the cursor"
complete -c commandline -s f -l function --description "Inject readline functions to reader"
complete -c commandline -s o -l tokenize --description "Print each token on a separate line"
complete -c commandline -s I -l input --description "Specify command to operate on"
complete -c commandline -s C -l cursor --description "Set/get cursor position, not buffer contents"