1
0
Fork 0
mirror of https://github.com/sbrl/bin.git synced 2018-01-10 21:33:46 +00:00

Check PATH and add extra directories to it if needed

This commit is contained in:
Starbeamrainbowlabs 2017-02-03 13:35:53 +00:00
parent 2395e2ae9c
commit 9e3c3f50c4

View file

@ -160,3 +160,12 @@ if [[ $- =~ .*i.* ]]; then bind '"\C-r": "\C-a hh \C-j"'; fi
DEBEMAIL="feedback@starbeamrainbowlabs.com" DEBEMAIL="feedback@starbeamrainbowlabs.com"
DEBFULLNAME="Starbeamrainbowlabs" DEBFULLNAME="Starbeamrainbowlabs"
export DEBEMAIL DEBFULLNAME export DEBEMAIL DEBFULLNAME
if [[ ":$PATH:" != *":$HOME/bin:"* ]]; then
export PATH=$PATH:$HOME/bin;
fi
if [[ ":$PATH:" != *":/sbin:"* ]]; then
export PATH=$PATH:/sbin;
fi