2017-10-11 17:17:35 +00:00
|
|
|
complete -c commandline -s h -l help -d "Display help and exit"
|
|
|
|
complete -c commandline -s a -l append -d "Add text to the end of the selected area"
|
|
|
|
complete -c commandline -s i -l insert -d "Add text at cursor"
|
|
|
|
complete -c commandline -s r -l replace -d "Replace selected part"
|
2005-09-20 13:31:55 +00:00
|
|
|
|
2019-05-05 10:53:09 +00:00
|
|
|
complete -c commandline -s j -l current-job -d "Select job under cursor"
|
|
|
|
complete -c commandline -s p -l current-process -d "Select process under cursor"
|
2020-03-12 06:16:12 +00:00
|
|
|
complete -c commandline -s s -l current-selection -d "Select current selection"
|
2017-10-11 17:17:35 +00:00
|
|
|
complete -c commandline -s t -l current-token -d "Select token under cursor"
|
|
|
|
complete -c commandline -s b -l current-buffer -d "Select entire command line (default)"
|
2005-09-20 13:31:55 +00:00
|
|
|
|
2017-10-11 17:17:35 +00:00
|
|
|
complete -c commandline -s c -l cut-at-cursor -d "Only return that part of the command line before the cursor"
|
|
|
|
complete -c commandline -s f -l function -d "Inject readline functions to reader"
|
2024-01-06 07:45:33 +00:00
|
|
|
complete -c commandline -s x -l tokens-expanded -d "Print a list of expanded tokens"
|
|
|
|
complete -c commandline -l tokens-raw -d "Print a list of raw tokens"
|
2005-09-20 13:31:55 +00:00
|
|
|
|
2017-10-11 17:17:35 +00:00
|
|
|
complete -c commandline -s I -l input -d "Specify command to operate on"
|
|
|
|
complete -c commandline -s C -l cursor -d "Set/get cursor position, not buffer contents"
|
2022-10-05 16:51:00 +00:00
|
|
|
complete -c commandline -s B -l selection-start -d "Get current selection starting position"
|
|
|
|
complete -c commandline -s E -l selection-end -d "Get current selection ending position"
|
2017-10-11 17:17:35 +00:00
|
|
|
complete -c commandline -s L -l line -d "Print the line that the cursor is on"
|
|
|
|
complete -c commandline -s S -l search-mode -d "Return true if performing a history search"
|
|
|
|
complete -c commandline -s P -l paging-mode -d "Return true if showing pager content"
|
2021-11-24 23:03:20 +00:00
|
|
|
complete -c commandline -l paging-full-mode -d "Return true if pager is showing all content"
|
2024-03-30 15:10:12 +00:00
|
|
|
complete -c commandline -l search-field -d "Operate on the pager search field"
|
2021-08-21 14:22:10 +00:00
|
|
|
complete -c commandline -l is-valid -d "Return true if the command line is syntactically valid and complete"
|
2014-09-17 02:17:48 +00:00
|
|
|
|
2019-01-26 18:08:54 +00:00
|
|
|
complete -c commandline -n '__fish_contains_opt -s f function' -a '(bind --function-names)' -d 'Function name' -x
|