And remove an excessive space.
if [ "$(git rev-parse --is-inside-git-dir 2> /dev/null)" == "false" ]; then
# ensure index is up to date
- #git update-index --really-refresh -q &>/dev/null
+ #git update-index --really-refresh -q &>/dev/null
# check for uncommitted changes in the index
if ! $(git diff --quiet --ignore-submodules --cached); then
PS1="\[\033]0;\u@\h:\w\007\]"
case "$TERM" in
screen*)
- PS1+"\[\033k\u@\h:\w\033\\\]" # Set screen/tmux caption
+ PS1+="\[\033k\u@\h:\w\033\\\]" # Set screen/tmux caption
;;
esac
;;