updated bashrc

This commit is contained in:
tomit4 2021-10-01 17:07:45 -07:00
parent 8a4c9b5fa4
commit 3237e358e3

View file

@ -144,9 +144,11 @@ ex ()
fi
}
# Displays current git branch if there is any
# Formats history command with dates/times
HISTTIMEFORMAT="%d/%m/%y %T "
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'
# Displays current git branch if there is any
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'
# Custom Bash Commands
alias .="cd"