Cleaning up the bashrc additions

This commit is contained in:
Josh Sherman 2012-02-19 15:53:08 -05:00
parent 4be641bdb0
commit 3a161e5776

View file

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