From 535e5f76cbd9aa63ff7ee4a80b8d9a4cf358aefa Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 25 Nov 2020 15:18:37 +0100 Subject: [fish] include /bin and /sbin in PATH --- config/fish/config.fish | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config/fish/config.fish') 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 -- cgit v1.2.3