changed color of bash prompt

This commit is contained in:
tomit4 2022-03-26 11:22:59 -07:00
parent d6f25e03ec
commit a9e7ca79f7

View file

@ -169,7 +169,7 @@ ex ()
HISTTIMEFORMAT="%d/%m/%y %T "
# Displays current git branch if there is any and also styles bash prompt
export PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\033[01;37m\] $(git branch 2>/dev/null | grep '^*' | colrm 1 2)\n\033[01;32m└─▶ \033[37m'
export PS1='\[\033[01;36m\][\u@\h\[\033[01;37m\] \W\[\033[01;36m\]]\$\033[01;37m\] $(git branch 2>/dev/null | grep '^*' | colrm 1 2)\n\033[01;36m└─▶ \033[37m'
# Custom Bash Commands
alias dmesg="doas dmesg"