3
0
Fork 0
forked from mirrors/nixpkgs

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:
Kjetil Orbekk 2016-06-12 01:14:08 -04:00
parent c3d5a0a7df
commit 3d7c8bd179

View file

@ -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