summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-10-21 15:14:40 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-10-21 15:14:40 -0400
commita7f6f2073c8d60b433775c6f4462f58d28ae8d25 (patch)
treeb7956687b6f560913c3d2f17fbafb0b13590f2e5 /.profile
parent083dc3d5a8863e4115d7bfdc4aa85c34ef5b4513 (diff)
Some systems *cough*CentOS6*cough* want you to add $HOME/bin to $PATH in your .profile/.bash_profile, not /etc/profile.
Diffstat (limited to '.profile')
-rw-r--r--.profile4
1 files changed, 4 insertions, 0 deletions
diff --git a/.profile b/.profile
index 36a3ec5..4bf1916 100644
--- a/.profile
+++ b/.profile
@@ -9,6 +9,10 @@
umask 022
# set PATH so it includes user's private bin if it exists
+if [ -d "$HOME/bin" ]; then
+ export PATH="$HOME/bin:$PATH"
+fi
+
if [ -d "$HOME/.prefix/bin" ]; then
export PATH="$HOME/.prefix/bin:$PATH"
fi