mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
Make bash completion work when nix is invoked as ~/.../nix
This commit is contained in:
parent
0a7c1da9f3
commit
5b5f68f1dd
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ function _complete_nix {
|
|||
else
|
||||
COMPREPLY+=("$completion")
|
||||
fi
|
||||
done < <(NIX_GET_COMPLETIONS=$cword "${words[@]}")
|
||||
done < <(NIX_GET_COMPLETIONS=$cword "${words[@]/#\~/$HOME}")
|
||||
__ltrim_colon_completions "$cur"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue