diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2021-06-12 23:50:26 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2021-06-12 23:50:26 -0500 |
commit | 79674c6cdb63a2e9421e38e47d5fe5b5c5ffbb32 (patch) | |
tree | b3166603417ed8facaf1e4e69653686cd604ebc1 /misc | |
parent | 8e6ee1b9e924fbbbeb5594eb89e7a570f36ab6e1 (diff) |
Fix zsh completion script
Installed site-functions need to be run directly, not via compdef.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/zsh/completion.zsh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/zsh/completion.zsh b/misc/zsh/completion.zsh index d4df6447e..a902e37dc 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 "$@" |