diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-11-25 15:18:37 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-11-25 15:18:37 +0100 |
| commit | 535e5f76cbd9aa63ff7ee4a80b8d9a4cf358aefa (patch) | |
| tree | 64a624bf7b7a2fe8a7246d1ede3e498e25e8ab3e /config | |
| parent | 7781ec97a7bdb45d755c877c99229b956876885d (diff) | |
| download | dotfiles-535e5f76cbd9aa63ff7ee4a80b8d9a4cf358aefa.tar.gz dotfiles-535e5f76cbd9aa63ff7ee4a80b8d9a4cf358aefa.zip | |
[fish] include /bin and /sbin in PATH
Diffstat (limited to 'config')
| -rw-r--r-- | config/fish/config.fish | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/fish/config.fish b/config/fish/config.fish index ee667aa..d844607 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -3,8 +3,10 @@ umask 027 # PATH Stuff -if not contains ~/.local/bin $PATH - set PATH ~/.local/bin $PATH +for dir in /bin/sbin ~/.local/bin + if not contains $dir $PATH and test -d $dir + set PATH $dir $PATH + end end # export the path to our dotfiles |
