Updated PATH

Now using dynamic `pwd` value. Added ./git to the PATH so that the git scripts will work
This commit is contained in:
Josh Sherman 2011-12-12 13:44:40 -05:00
parent 16b42dfe23
commit 9e30a7fbc9

View file

@ -11,8 +11,13 @@ fi
# Grabs the skeleton .bashrc
cp /etc/skel/.bashrc ~/.bashrc
PWD=`pwd`
# Adds paths
echo "export PATH=\"$PWD/git:$PATH\"" >> ~/.bashrc
# Appends the custom .bashrc file
echo "
if [ -f `pwd`/bash.bashrc ] && ! shopt -oq posix; then
. `pwd`/bash.bashrc
if [ -f $PWD/bash.bashrc ] && ! shopt -oq posix; then
. $PWD/bash.bashrc
fi" >> ~/.bashrc