git.iko.soy/typeable/nixpkgs
on master help sign in
fish: fix completions

Completion was broken because some variables were resolved at installation time instead of being added to the script. Closes #16039.

commit027ca71156bc3ca5a9fbdab2f831f936305522dd authorKjetil Orbekk <kjetil.orbekk@gmail.com> dateTue 7 Jun 2016, 07:19 (10 years ago) parent7eb906b
1 file changed+1−1
pkgs/shells/fish/default.nix+1−1
pkgs/shells/fish/default.nix+1−1
@@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
7575 # make fish pick up completions from nix profile
7676 if status --is-interactive
7777 set -l profiles (echo $NIX_PROFILES | ${coreutils}/bin/tr ' ' '\n')
78− set fish_complete_path $profiles"/share/fish/vendor_completions.d" $fish_complete_path
78+ set fish_complete_path \$profiles"/share/fish/vendor_completions.d" \$fish_complete_path
7979 end
8080 EOF
8181 '';