diff --git a/misc/zsh/completion.zsh b/misc/zsh/completion.zsh index d4df6447e41d043aca13f334641cadeb2b7cc9bd..a902e37dc8990d90afd16cfb677d7cfc84c04927 100644 --- a/misc/zsh/completion.zsh +++ b/misc/zsh/completion.zsh @@ -1,3 +1,5 @@ +#compdef nix + function _nix() { local ifs_bk="$IFS" local input=("${(Q)words[@]}") @@ -18,4 +20,4 @@ function _nix() { _describe 'nix' suggestions } -compdef _nix nix +_nix "$@"