mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
fish: append path
This commit is contained in:
parent
5016af9c6d
commit
d7a1637214
1 changed files with 2 additions and 1 deletions
|
|
@ -48,7 +48,8 @@ in {
|
|||
if test -d ~/.environments
|
||||
for file in ~/.environments/*
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue