diff --git a/bashrc b/bashrc index 6f5ebd2..54328a1 100644 --- a/bashrc +++ b/bashrc @@ -28,7 +28,7 @@ GIT_PROMPT_THEME=Noldorized source ~/.bash-git-prompt/gitprompt.sh function prompt_callback { - REPO=$(git remote -v | sed -r 's/^origin.*\/(.*)\.git.*/\1/' | head -1) + REPO=$(git remote -v | sed -r 's/^origin.*\/(.*)\ .*/\1/' | head -1) gp_set_window_title "$REPO($GIT_BRANCH)" }