diff options
author | Rok Garbas <rok@garbas.si> | 2022-02-18 00:15:23 +0100 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2022-02-18 00:15:23 +0100 |
commit | bf435664d747e2a69476697011ec9ec1e6dabc8b (patch) | |
tree | eaf8f6f74dd59950e4a3e12c7e77249ff905eab5 /misc/zsh | |
parent | 50a9c48db4dddd6ba4c81dae74aa60f8ff10bfe5 (diff) | |
parent | b24d541c34b6c85761c63c19ae847816aecd364b (diff) |
Merge remote-tracking branch 'origin/master' into script-to-make-docker-release
Diffstat (limited to 'misc/zsh')
-rw-r--r-- | misc/zsh/completion.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/zsh/completion.zsh b/misc/zsh/completion.zsh index a902e37dc..e702c721e 100644 --- a/misc/zsh/completion.zsh +++ b/misc/zsh/completion.zsh @@ -4,7 +4,7 @@ function _nix() { local ifs_bk="$IFS" local input=("${(Q)words[@]}") IFS=$'\n' - local res=($(NIX_GET_COMPLETIONS=$((CURRENT - 1)) "$input[@]")) + local res=($(NIX_GET_COMPLETIONS=$((CURRENT - 1)) "$input[@]" 2>/dev/null)) IFS="$ifs_bk" local tpe="${${res[1]}%%> *}" local -a suggestions |