From 9e3c3f50c422f7c21c2cb8b1434fb269b0a8381c Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 3 Feb 2017 13:35:53 +0000 Subject: [PATCH] Check PATH and add extra directories to it if needed --- .bashrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.bashrc b/.bashrc index c6dcc09..af5ab09 100644 --- a/.bashrc +++ b/.bashrc @@ -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 +