1
0
Fork 0

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
1 changed files with 9 additions and 0 deletions

View File

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