aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/fish/completion.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/fish/completion.fish b/misc/fish/completion.fish
index c6b8ef16a..b7a272c61 100644
--- a/misc/fish/completion.fish
+++ b/misc/fish/completion.fish
@@ -14,7 +14,7 @@ function _nix_complete
# But the variable also misses the current token so it cancels out.
set -l nix_arg_to_complete (count $nix_args)
- env NIX_GET_COMPLETIONS=$nix_arg_to_complete $nix_args $current_token
+ env NIX_GET_COMPLETIONS=$nix_arg_to_complete $nix_args $current_token 2>/dev/null
end
function _nix_accepts_files