Fix zsh completion script

Installed site-functions need to be run directly, not via compdef.
This commit is contained in:
Matthew Bauer 2021-06-12 23:50:26 -05:00
parent 8e6ee1b9e9
commit 79674c6cdb

View file

@ -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 "$@"