mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 16:28:58 +01:00
feat(refined): allow selecting git branch by changing prefix to :
(#10400)
This commit is contained in:
parent
e86c6f5e7f
commit
4a74349635
@ -33,8 +33,8 @@ autoload -Uz vcs_info
|
|||||||
zstyle ':vcs_info:*' enable hg bzr git
|
zstyle ':vcs_info:*' enable hg bzr git
|
||||||
zstyle ':vcs_info:*:*' unstagedstr '!'
|
zstyle ':vcs_info:*:*' unstagedstr '!'
|
||||||
zstyle ':vcs_info:*:*' stagedstr '+'
|
zstyle ':vcs_info:*:*' stagedstr '+'
|
||||||
zstyle ':vcs_info:*:*' formats "$FX[bold]%r$FX[no-bold]/%S" "%s/%b" "%%u%c"
|
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:*:*' actionformats "$FX[bold]%r$FX[no-bold]/%S" "%s:%b" "%u%c (%a)"
|
||||||
zstyle ':vcs_info:*:*' nvcsformats "%~" "" ""
|
zstyle ':vcs_info:*:*' nvcsformats "%~" "" ""
|
||||||
|
|
||||||
# Fastest possible way to check if repo is dirty
|
# Fastest possible way to check if repo is dirty
|
||||||
|
Loading…
Reference in New Issue
Block a user