X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.bash_prompt;h=609f19f751c2997f19f4acb4ef24b30054d76f3b;hb=6ae80406a46b645878b431bd922cfd6f86eb4c0d;hp=6126ef25240e8358dbb2ef4f25f09c420072f18c;hpb=6799fdc4787abcbcced013261284aa54fc08637f;p=dotfiles.git diff --git a/.bash_prompt b/.bash_prompt index 6126ef2..609f19f 100644 --- a/.bash_prompt +++ b/.bash_prompt @@ -15,7 +15,7 @@ prompt_git() { 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 @@ -164,7 +164,7 @@ set_prompts() { 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 ;;