mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 10:57:30 +08:00
feat(completion) support batsh command
This commit is contained in:
parent
1e2368f609
commit
1c00ad5aea
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 New Issue
Block a user