Skip to content

Commit f7fd3a8

Browse files
committed
bugfix: Change #compdef $PROG to #compdef vfox in zsh completion script
Previously, the zsh completion script used a variable $PROG for the #compdef directive. This required the user to set the $PROG variable to 'vfox' before sourcing the script for the completion to work correctly. close version-fox#16
1 parent 8b91e4d commit f7fd3a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

completions/zsh_autocomplete

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#compdef $PROG
1+
#compdef vfox
22

33
_cli_zsh_autocomplete() {
44
local -a opts
@@ -17,4 +17,4 @@ _cli_zsh_autocomplete() {
1717
fi
1818
}
1919

20-
compdef _cli_zsh_autocomplete $PROG
20+
compdef _cli_zsh_autocomplete vfox

0 commit comments

Comments
 (0)