Merge pull request #16162 from orbekk/fish-fix
fish: fix completion from NIX_PROFILES
This commit is contained in:
commit
f145360835
|
@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
# make fish pick up completions from nix profile
|
# make fish pick up completions from nix profile
|
||||||
if status --is-interactive
|
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
|
set fish_complete_path \$profiles"/share/fish/vendor_completions.d" \$fish_complete_path
|
||||||
end
|
end
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue