Improve the fish autocompletion.

This commit is contained in:
Username404-59 2021-02-26 20:47:30 +01:00
parent 342042282b
commit 1a2550f27e
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,6 @@
set -l commands --help -p --printresult
complete -c ybcon -f
complete -c ybcon -s h -l help -d "Print the help screen"
complete -c ybcon -l version -d "Print the version"
complete -c ybcon -s p -l printresult -d "Enable printing the transpilation result to stdout"
complete -c ybcon -a "(__fish_complete_suffix .ybcon)"
complete -c ybcon -f -a "(__fish_complete_suffix .ybcon)"
complete -c ybcon -x -s h -l help -d "Print the help screen"
complete -c ybcon -x -l version -d "Print the version"
complete -c ybcon -r -s p -l printresult -d "Enable printing the transpilation result to stdout"