diff options
| author | Florian Fischer <muhq@muhq.space> | 2017-05-11 23:02:32 +0200 |
|---|---|---|
| committer | Florian Fischer <muhq@muhq.space> | 2017-05-11 23:06:32 +0200 |
| commit | 8189956aa35a18bcaba2a02fd14efc555a33e5e5 (patch) | |
| tree | 146d9032dbd4e686bad3c93e843a3c2cfe2e919b /config/fish/config.fish | |
| parent | 0a26bbe5cb29ec54ad640b598ea2c9e29a3cdd95 (diff) | |
| download | dotfiles-8189956aa35a18bcaba2a02fd14efc555a33e5e5.tar.gz dotfiles-8189956aa35a18bcaba2a02fd14efc555a33e5e5.zip | |
really fix guixsd path handling
Diffstat (limited to 'config/fish/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 |
