Merge pull request #4911 from matthewbauer/fix-zsh-completion

Fix zsh completion script
This commit is contained in:
Eelco Dolstra 2021-06-23 10:07:36 +02:00 committed by GitHub
commit 2ab7c821f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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