mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 04:13:08 +00:00
feat(completion) support batsh command
This commit is contained in:
parent
1e2368f609
commit
1c00ad5aea
1 changed files with 12 additions and 0 deletions
12
share/completions/batsh.fish
Normal file
12
share/completions/batsh.fish
Normal file
|
@ -0,0 +1,12 @@
|
|||
set -l command batsh
|
||||
|
||||
complete -c $command -f
|
||||
|
||||
complete -c $command -s h -l help \
|
||||
-a 'pager\tdefault plain groff' \
|
||||
-d 'Show help'
|
||||
|
||||
complete -c $command -s v -l version -d 'Show version'
|
||||
|
||||
complete -c $command \
|
||||
-a 'bash\t"Compile to Bash" batsh\t"Format file" winbat\t"Compile to Batch"'
|
Loading…
Reference in a new issue