diff --git a/themes/base.theme.bash b/themes/base.theme.bash index 2f1bf4b3..6aadae74 100644 --- a/themes/base.theme.bash +++ b/themes/base.theme.bash @@ -159,6 +159,7 @@ function git_prompt_vars { [[ "${tracking_info}" =~ .+\[gone\]$ ]] && local branch_gone="true" tracking_info=${tracking_info#\#\# ${SCM_BRANCH}...} tracking_info=${tracking_info% [*} + tracking_info=${tracking_info#remotes/} local remote_name=${tracking_info%%/*} local remote_branch=${tracking_info#${remote_name}/} local remote_info=""