Cleaning up the bashrc additions
This commit is contained in:
parent
4be641bdb0
commit
3a161e5776
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue