bash: Balance prompt colors.
parent
9682402e2e
commit
23329841ed
6
.bashrc
6
.bashrc
|
@ -22,11 +22,9 @@ source /etc/bashrc
|
|||
# Adjust the prompt depending on whether we're in 'guix environment'.
|
||||
if [ -n "$GUIX_ENVIRONMENT" ]
|
||||
then
|
||||
# PS1='\u@\h \w [env]\$ '
|
||||
PS1='[\u@\h \w] \D{%F %T}\n[env]\$ '
|
||||
PS1='\e[1;37m[\e[1;32m\w\e[1;37m]\e[m \e[0;34m\D{%F %T}\e[m\n\e[1;37m[env]\$\e[m '
|
||||
else
|
||||
# PS1='\u@\h \w \$ '
|
||||
PS1='\e[1;32m[\w] \D{%F %T}\e[m\n\$ '
|
||||
PS1='\e[1;37m[\e[1;32m\w\e[1;37m]\e[m \e[0;34m\D{%F %T}\e[m\n\e[1;37m\$\e[m '
|
||||
fi
|
||||
|
||||
mkcd(){
|
||||
|
|
Loading…
Reference in New Issue