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`
|
||||
|
||||
# Adds paths
|
||||
echo "export PATH=\"$PWD/git:$PATH\"" >> ~/.bashrc
|
||||
|
||||
# Appends the custom .bashrc file
|
||||
# Adds paths and custom .bashrc
|
||||
echo "
|
||||
export PATH=\"$PWD/git:$PATH\"
|
||||
|
||||
if [ -f $PWD/bashrc ] && ! shopt -oq posix; then
|
||||
. $PWD/bashrc
|
||||
fi" >> ~/.bashrc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue