Update ps1 to fix path formatting
This commit is contained in:
parent
f39804e621
commit
ec6106c73e
@ -2,7 +2,7 @@ function _parse_git_branch() {
|
|||||||
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
|
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
|
||||||
}
|
}
|
||||||
|
|
||||||
export PS1="\[\e[0;97m\]\[\e[37m\e[1m\]\u\[\e[1;94m\]@\[\e[94m\]\H\[\e[0;33m\]\$(_parse_git_branch) \[\e[37m\]\w\[\e[33m\] \[\e[0;97m\]$\[\e[0m\] "
|
export PS1="\[\e[0;97m\]\[\e[37m\e[1m\]\u\[\e[1;94m\]@\[\e[94m\]\H\[\e[37m\]:\w\[\e[33m\]\[\e[0;33m\]\$(_parse_git_branch) \[\e[37m\]\[\e[0;97m\]$\[\e[0m\] "
|
||||||
export rc=/home/$USERNAME/.bashrc
|
export rc=/home/$USERNAME/.bashrc
|
||||||
export VIRTUALENV_DIR=/home/$USERNAME/.venvs
|
export VIRTUALENV_DIR=/home/$USERNAME/.venvs
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user