mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
modularized zshrc
This commit is contained in:
parent
cf509c03fc
commit
d1bec20d74
9 changed files with 147 additions and 125 deletions
9
zsh/prompt_vcs
Normal file
9
zsh/prompt_vcs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
autoload -Uz vcs_info
|
||||
zstyle ':vcs_info:*' enable git hg
|
||||
zstyle ':vcs_info:*' stagedstr "%F{red}±%f"
|
||||
zstyle ':vcs_info:*' unstagedstr "%F{yellow}≠%f"
|
||||
zstyle ':vcs_info:*' check-for-changes true
|
||||
zstyle ':vcs_info:*' formats "%c%u %F{green}%S%f‹%F{blue}%b%f‹%F{yellow}%r%f"
|
||||
zstyle ':vcs_info:*' actionformats "%F{red}%a%f %c%u %F{green}%S%f‹%F{blue}%b%f‹%F{yellow}%r%f"
|
||||
|
||||
# vim: ft=zsh
|
||||
Loading…
Add table
Add a link
Reference in a new issue