From 1e565a34e5c27d0a0b373227667c2813cf9105c0 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 15 May 2020 01:06:22 +0300 Subject: [PATCH] .bash_prompt: Fix a bug in syntax And remove an excessive space. --- .bash_prompt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ;; -- 2.39.2