fish: fix completions
Completion was broken because some variables were resolved at installation time instead of being added to the script. Closes #16039.
This commit is contained in:
parent
7eb906b138
commit
027ca71156
|
@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
|
|||
# make fish pick up completions from nix profile
|
||||
if status --is-interactive
|
||||
set -l profiles (echo $NIX_PROFILES | ${coreutils}/bin/tr ' ' '\n')
|
||||
set fish_complete_path $profiles"/share/fish/vendor_completions.d" $fish_complete_path
|
||||
set fish_complete_path \$profiles"/share/fish/vendor_completions.d" \$fish_complete_path
|
||||
end
|
||||
EOF
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue