This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make window name in byobu show current git branch | |
# git repo doesn't need to be hard-coded but overwrites custom window name | |
case "$TERM" in | |
screen*) | |
GIT_PS1_SHOWDIRTYSTATE=true | |
PROMPT_COMMAND='echo -ne "\033k$(__git_ps1)\033"' | |
;; | |
esac |
OlderNewer