fish-shell/share/completions/sad.fish
bagohart 106e030096
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
2022-08-25 13:20:15 +02:00

11 lines
737 B
Fish

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'