summaryrefslogtreecommitdiff
path: root/themes/refined.zsh-theme
diff options
context:
space:
mode:
authorJanusz Mordarski <janusz.m@gmail.com>2021-11-09 09:50:25 +0100
committerGitHub <noreply@github.com>2021-11-09 09:50:25 +0100
commit4a74349635cf30d305766b459c7cc3246831676e (patch)
treeb851f66748b7b5406c341811b9bc01e23dd4f86c /themes/refined.zsh-theme
parente86c6f5e7fc9f024a427e2870ab70644b5454725 (diff)
downloadzsh-4a74349635cf30d305766b459c7cc3246831676e.tar.gz
zsh-4a74349635cf30d305766b459c7cc3246831676e.tar.bz2
zsh-4a74349635cf30d305766b459c7cc3246831676e.zip
feat(refined): allow selecting git branch by changing prefix to `:` (#10400)
Diffstat (limited to 'themes/refined.zsh-theme')
-rw-r--r--themes/refined.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/refined.zsh-theme b/themes/refined.zsh-theme
index 2a4188c9d..5d39bd757 100644
--- a/themes/refined.zsh-theme
+++ b/themes/refined.zsh-theme
@@ -33,8 +33,8 @@ autoload -Uz vcs_info
zstyle ':vcs_info:*' enable hg bzr git
zstyle ':vcs_info:*:*' unstagedstr '!'
zstyle ':vcs_info:*:*' stagedstr '+'
-zstyle ':vcs_info:*:*' formats "$FX[bold]%r$FX[no-bold]/%S" "%s/%b" "%%u%c"
-zstyle ':vcs_info:*:*' actionformats "$FX[bold]%r$FX[no-bold]/%S" "%s/%b" "%u%c (%a)"
+zstyle ':vcs_info:*:*' formats "$FX[bold]%r$FX[no-bold]/%S" "%s:%b" "%%u%c"
+zstyle ':vcs_info:*:*' actionformats "$FX[bold]%r$FX[no-bold]/%S" "%s:%b" "%u%c (%a)"
zstyle ':vcs_info:*:*' nvcsformats "%~" "" ""
# Fastest possible way to check if repo is dirty