diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-06-23 10:07:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 10:07:36 +0200 |
commit | 2ab7c821f310a5b2ccabfe8da3212882825d8a00 (patch) | |
tree | a4c631e18b3de43f5cad013350b94b874091779d | |
parent | 26d2c62225b3c8a33dbee3cf83f8d2acd1675aa8 (diff) | |
parent | 79674c6cdb63a2e9421e38e47d5fe5b5c5ffbb32 (diff) |
Merge pull request #4911 from matthewbauer/fix-zsh-completion
Fix zsh completion script
-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 "$@" |