From 1a2550f27e15c72669c3f9c54f1a644e293c018e Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Fri, 26 Feb 2021 20:47:30 +0100 Subject: [PATCH] Improve the fish autocompletion. --- scripts/fish-completion.fish | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/fish-completion.fish b/scripts/fish-completion.fish index 3c187e6..5314154 100644 --- a/scripts/fish-completion.fish +++ b/scripts/fish-completion.fish @@ -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)" \ No newline at end of file +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" \ No newline at end of file