aboutsummaryrefslogtreecommitdiff
path: root/misc/bash/completion.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bash/completion.sh')
-rw-r--r--misc/bash/completion.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/bash/completion.sh b/misc/bash/completion.sh
index 8fc224792..045053dee 100644
--- a/misc/bash/completion.sh
+++ b/misc/bash/completion.sh
@@ -15,7 +15,7 @@ function _complete_nix {
else
COMPREPLY+=("$completion")
fi
- done < <(NIX_GET_COMPLETIONS=$cword "${words[@]/#\~/$HOME}")
+ done < <(NIX_GET_COMPLETIONS=$cword "${words[@]/#\~/$HOME}" 2>/dev/null)
__ltrim_colon_completions "$cur"
}