Skip to content

Commit caa71df

Browse files
committed
add stg styles
1 parent 1ccb807 commit caa71df

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

prompt_powerline_setup

+5-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ prompt_powerline_vcsstyles () {
6363
zstyle ':vcs_info:git:powerline:*' trackingformats "%%F{46}+%a%%f" "%%F{160}-%b%%f" "%%F{46}+%a%%F{123}/%f%%F{160}-%b%%f"
6464

6565
# stash format
66-
zstyle ':vcs_info:git:powerline:*' stashformat "%%F{81}$sep2 %s "
66+
zstyle ':vcs_info:git:powerline:*' stashformat "%%F{81}$sep2 %%B%s %b"
67+
68+
# stgit formats
69+
zstyle ':vcs_info:git:powerline:*' patch-format "%%F{186}$sep2%%F{81} %p %n/%a "
70+
zstyle ':vcs_info:git:powerline:*' nopatch-format "$sep2 0/%a "
6771

6872
}
6973

0 commit comments

Comments
 (0)