fish: fix completion from NIX_PROFILES
Load NIX_PROFILES at shell startup, not at build time.
This one was missed in #16039.
commit3d7c8bd179ccbacdd442471b1abb483328f7ee4d
authorKjetil Orbekk <kjetil.orbekk@gmail.com>
dateSun 12 Jun 2016, 01:14 (10 years ago)
parentc3d5a0a
pkgs/shells/fish/default.nix+1−1
@@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
7474
7575 # make fish pick up completions from nix profile
7676 if status --is-interactive
77− set -l profiles (echo $NIX_PROFILES | ${coreutils}/bin/tr ' ' '\n')
77+ set -l profiles (echo \$NIX_PROFILES | ${coreutils}/bin/tr ' ' '\n')
7878 set fish_complete_path \$profiles"/share/fish/vendor_completions.d" \$fish_complete_path
7979 end
8080 EOF