Permalink
Browse files

[bashrc][bash_profile] Move PATH to bash_profile.

This fixes the duplicate path entries and also makes the PATH variable available
to X apps.
  • Loading branch information...
1 parent 8c03d97 commit 24c4659ad506e73f08ade6b0f4f85ca4689f71a7 @mfs committed Mar 28, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −0 bash_profile
  2. +0 −2 bashrc
View
@@ -1,5 +1,7 @@
# [cmgr] .bash_profile
+PATH=/usr/lib/cw:$PATH:$HOME/bin
+
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
exec startx
fi
View
2 bashrc
@@ -2,8 +2,6 @@
# need to prevent .git being searched on removable media
-export PATH=/usr/lib/cw:$PATH:$HOME/bin
-
function exit_status {
local RED='\033[0;31m' # RED
local GRE='\033[0;32m' # GREEN

0 comments on commit 24c4659

Please sign in to comment.