diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-04-19 13:45:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 13:45:33 +0200 |
commit | 51712bf0127e995c94a4b598b045d52cf667dcef (patch) | |
tree | dec8970d571edf1753af01f067b90718714b48f2 /misc | |
parent | 2016b7142ad1282981ad1505085fff0ac9c7d66c (diff) | |
parent | da7d8daa77c2cce5805947a012060b02be9e4a43 (diff) |
Merge pull request #6128 from ncfavier/fix-completion
Shell completion improvements
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bash/completion.sh | 2 |
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" } |