aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-04-19 13:45:33 +0200
committerGitHub <noreply@github.com>2022-04-19 13:45:33 +0200
commit51712bf0127e995c94a4b598b045d52cf667dcef (patch)
treedec8970d571edf1753af01f067b90718714b48f2 /misc
parent2016b7142ad1282981ad1505085fff0ac9c7d66c (diff)
parentda7d8daa77c2cce5805947a012060b02be9e4a43 (diff)
Merge pull request #6128 from ncfavier/fix-completion
Shell completion improvements
Diffstat (limited to 'misc')
-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 045053dee..9af695f5a 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}" 2>/dev/null)
+ done < <(NIX_GET_COMPLETIONS=$cword "${words[@]}" 2>/dev/null)
__ltrim_colon_completions "$cur"
}