diff --git a/conf_base/root.bashrc b/conf_base/root.bashrc index 337bd21..758308f 100644 --- a/conf_base/root.bashrc +++ b/conf_base/root.bashrc @@ -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 diff --git a/conf_base/user.bashrc b/conf_base/user.bashrc index b7f7090..18e6387 100644 --- a/conf_base/user.bashrc +++ b/conf_base/user.bashrc @@ -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 @@ -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