Merge pull request #16162 from orbekk/fish-fix

fish: fix completion from NIX_PROFILES
This commit is contained in:
zimbatm 2016-06-12 11:40:02 +01:00 committed by GitHub
commit f145360835

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