mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
added completions for sad (#9145)
* added completions for sad and added note in changelog * ran fish_indent on completion file * split -h and --help into two distinct completion options
This commit is contained in:
parent
c753f22003
commit
106e030096
|
@ -70,6 +70,7 @@ Completions
|
|||
- ``firefox-developer-edition``
|
||||
- ``kind`` (:issue:`9110`)
|
||||
- ``zig`` (:issue:`9083`)
|
||||
- ``sad``
|
||||
|
||||
Improved terminal support
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
10
share/completions/sad.fish
Normal file
10
share/completions/sad.fish
Normal file
|
@ -0,0 +1,10 @@
|
|||
complete sad -s 0 -l read0 -d 'Use \0 as stdin delimiter'
|
||||
complete sad -s e -l exact -d 'String literal mode'
|
||||
complete sad -x -s f -l flags -d "Regex flags: use `--help` instead of `-h` to see details"
|
||||
complete sad -x -l fzf -a never -d "Additional Fzf options, disable = never"
|
||||
complete sad -s h -d 'Print short help information'
|
||||
complete sad -l help -d 'Print detailed help information'
|
||||
complete sad -s k -l commit -d 'No preview, write changes to file'
|
||||
complete sad -x -s p -l pager -a never -d 'Colourizing program, disable = never, default = $GIT_PAGER'
|
||||
complete sad -x -s u -l unified -a "0 1 2 3 4 5" -d 'Same as in GNU diff --unified={size}, affects aggregate size'
|
||||
complete sad -x -s V -l version -d 'Print version information'
|
Loading…
Reference in New Issue
Block a user