Updated PATH
Now using dynamic `pwd` value. Added ./git to the PATH so that the git scripts will work
This commit is contained in:
parent
16b42dfe23
commit
9e30a7fbc9
1 changed files with 7 additions and 2 deletions
|
@ -11,8 +11,13 @@ fi
|
||||||
# Grabs the skeleton .bashrc
|
# Grabs the skeleton .bashrc
|
||||||
cp /etc/skel/.bashrc ~/.bashrc
|
cp /etc/skel/.bashrc ~/.bashrc
|
||||||
|
|
||||||
|
PWD=`pwd`
|
||||||
|
|
||||||
|
# Adds paths
|
||||||
|
echo "export PATH=\"$PWD/git:$PATH\"" >> ~/.bashrc
|
||||||
|
|
||||||
# Appends the custom .bashrc file
|
# Appends the custom .bashrc file
|
||||||
echo "
|
echo "
|
||||||
if [ -f `pwd`/bash.bashrc ] && ! shopt -oq posix; then
|
if [ -f $PWD/bash.bashrc ] && ! shopt -oq posix; then
|
||||||
. `pwd`/bash.bashrc
|
. $PWD/bash.bashrc
|
||||||
fi" >> ~/.bashrc
|
fi" >> ~/.bashrc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue