tmux can handle powerline again
parent
3e36de5a94
commit
822b0458ee
2
.bashrc
2
.bashrc
|
@ -30,7 +30,7 @@ for k in $HOME/bin/*.bash ; do . $k ; done
|
|||
function _update_ps1() {
|
||||
PS1="$(powerline-go -error $?)"
|
||||
}
|
||||
if [[ $(which powerline-go 2>/dev/null) && "$TERM" != "linux" && "$TERM_PROGRAM" != "vscode" && "$TERM" != "screen" ]]; then
|
||||
if [[ $(which powerline-go 2>/dev/null) && "$TERM" != "linux" && "$TERM_PROGRAM" != "vscode" ]]; then
|
||||
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
|
||||
else
|
||||
PS1='[\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w$(__git_ps1 " (%s)")\[\033[00m\]]\$ '
|
||||
|
|
Reference in New Issue