mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
13 lines
301 B
Fish
13 lines
301 B
Fish
|
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"'
|