Skip to content

Instantly share code, notes, and snippets.

@zhangshine
Last active August 29, 2015 14:21
Show Gist options
  • Save zhangshine/5819d5e83a84da60afbb to your computer and use it in GitHub Desktop.
Save zhangshine/5819d5e83a84da60afbb to your computer and use it in GitHub Desktop.
zhangshine.zsh-theme
PROMPT=$'%{$fg[green]%}%n@%~ %D{%a %b %d %X} %{$reset_color%} $(git_prompt_info)\
%{$fg[green]%}>%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}["
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}*%{$fg[green]%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment