Fix zsh completion script
Installed site-functions need to be run directly, not via compdef.
This commit is contained in:
parent
8e6ee1b9e9
commit
79674c6cdb
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in a new issue