fish: fix completion from NIX_PROFILES
Load NIX_PROFILES at shell startup, not at build time. This one was missed in #16039.
This commit is contained in:
parent
c3d5a0a7df
commit
3d7c8bd179
@ -74,7 +74,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 -l profiles (echo \$NIX_PROFILES | ${coreutils}/bin/tr ' ' '\n')
|
||||
set fish_complete_path \$profiles"/share/fish/vendor_completions.d" \$fish_complete_path
|
||||
end
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user