updated bashrc
This commit is contained in:
parent
8a4c9b5fa4
commit
3237e358e3
1 changed files with 4 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue