Skip to content

Instantly share code, notes, and snippets.

@aniketpant
Created September 1, 2013 06:27
Show Gist options
  • Save aniketpant/6402685 to your computer and use it in GitHub Desktop.
Save aniketpant/6402685 to your computer and use it in GitHub Desktop.
My custom ZSH theme
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}["
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[green]%}]%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
# git settings
RPS1='$(git_prompt_info)'
PROMPT='%{$fg[cyan]%}[%~% ]%(?.%{$fg[green]%}.%{$fg[red]%})%B$%b '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment