Skip to content

Commit

Permalink
update of nice bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
polytan02 committed Feb 8, 2015
1 parent ac03ec4 commit dece4b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions conf_base/root.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ if ! shopt -oq posix; then
fi
fi

# Because we love nice colors in shell !

PS1='\[\e[0;31m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;31m\]\$ \[\e[m\]\[\e[0;35m\]'

export PS1="\[\e[00;37m\][\[\e[0m\]\[\e[00;36m\]\H\[\e[0m\]\[\e[00;37m\]] \[\e[0m\]\[\e[00;31m\]\u\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[00;34m\]\w\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[00;31m\]\\$\[\e[0m\]\[\e[00;37m\] \[\e[0m\] \[\e[0;35m\]"
trap 'echo -ne "\e[0m"' DEBUG
5 changes: 3 additions & 2 deletions conf_base/user.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ fi
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'
alias gitcp='git commit -a && git push --all'

# Alias definitions.
# You may want to put all your additions into a separate file like
Expand All @@ -109,8 +110,8 @@ if ! shopt -oq posix; then
fi
fi

# Because we love nice colours in shell !
# export PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[0;35m\]'
export PS1="\[\e[00;37m\][\[\e[0m\]\[\e[00;36m\]\H\[\e[0m\]\[\e[00;37m\]] \[\e[0m\]\[\e[00;32m\]\u\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[00;34m\]\w\[\e[0m\]\[\e[00;37m\] \[\e[0m\]\[\e[00;32m\]\\$\[\e[0m\]\[\e[00;37m\] \[\e[0m\] \[\e[0;35m\]"

PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[0;35m\]'
trap 'echo -ne "\e[0m"' DEBUG

0 comments on commit dece4b8

Please sign in to comment.