mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #16162 from orbekk/fish-fix
fish: fix completion from NIX_PROFILES
This commit is contained in:
commit
f145360835
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue