fish: append path

This commit is contained in:
Primrose 2025-05-10 22:03:52 +02:00
parent 5016af9c6d
commit d7a1637214
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -48,7 +48,8 @@ in {
if test -d ~/.environments if test -d ~/.environments
for file in ~/.environments/* for file in ~/.environments/*
if not string match -q --regex -- '-link$' $file if not string match -q --regex -- '-link$' $file
fish_add_path $file/bin || true # Append so if invoked from a nix shell, doesn't mess with the shell's specific paths
fish_add_path --append $file/bin
end end
end end
end end