Skip to content

Instantly share code, notes, and snippets.

View anatolyg's full-sized avatar

Anatoly Geyfman anatolyg

View GitHub Profile
@anatolyg
anatolyg / ... and my theme
Created April 6, 2011 03:34
I am using oh-my-zsh
# provides a prompt in the following manner:
# name@machine path [git branch●] »
# where ● == color coded ball based on status of branch
# red means uncommitted, yellow means committed but not not pushed, green means up to date
autoload -Uz vcs_info
zstyle ':vcs_info:*' stagedstr '%F{28}●'
zstyle ':vcs_info:*' unstagedstr '%F{11}●'
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{11}%r'