diff options
Diffstat (limited to 'config/fish')
| -rw-r--r-- | config/fish/config.fish | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/config/fish/config.fish b/config/fish/config.fish index 97923b4..5d35abf 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -1,11 +1,9 @@ # PATH Stuff # include guix paths -if type -q guix - for p in /home/fischerling/.guix-profile/bin /run/setuid-programs /run/current-system/profile/bin /run/current-system/profile/sbin - if not contains $p $PATH - set PATH $PATH $p - end +for p in /home/fischerling/.guix-profile/bin /run/setuid-programs /run/current-system/profile/bin /run/current-system/profile/sbin + if test -d $p; and not contains $p $PATH + set PATH $PATH $p end end |
