comparison .bash_prompt @ 262:93279b4ed0b4

This has been wrong for... a long time. Only realized it today on the chromebook.
author Steve Huston <huston@srhuston.net>
date Mon, 01 Apr 2024 17:46:06 -0400
parents 7651a91983cd
children c15ff56617a9
comparison
equal deleted inserted replaced
261:7651a91983cd 262:93279b4ed0b4
145 set_prompt_symbol $? 145 set_prompt_symbol $?
146 146
147 # Set the BRANCH variable. 147 # Set the BRANCH variable.
148 set_git_branch || set_mercurial_branch || BRANCH='' 148 set_git_branch || set_mercurial_branch || BRANCH=''
149 149
150 [[ $TERM =~ (xterm|rxvt) ]] && echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007" 150 [[ $TERM =~ (xterm|rxvt) ]] && echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/\~}\007"
151 151
152 # Set the bash prompt variable. 152 # Set the bash prompt variable.
153 # This part isn't going to work with the way it's going currently because of 153 # This part isn't going to work with the way it's going currently because of
154 # how they're evaluated. I need to think about how to do it the way it was, 154 # how they're evaluated. I need to think about how to do it the way it was,
155 # on the other hand that means if I'm in a repo when I 'su' then it'll 155 # on the other hand that means if I'm in a repo when I 'su' then it'll