Skip to content

Instantly share code, notes, and snippets.

@chrischoy
Last active March 15, 2017 17:02
Show Gist options
  • Save chrischoy/a1a4f3e9468efd61a4ff4e3f67c945c5 to your computer and use it in GitHub Desktop.
Save chrischoy/a1a4f3e9468efd61a4ff4e3f67c945c5 to your computer and use it in GitHub Desktop.
# Personalized theme based on kafeitu
# Grab the current date (%D) and time (%T) wrapped in {}: {%D %T}
CURRENT_TIME_="%{$fg_bold[white]%}{%{$fg_bold[yellow]%}%D %T%{$fg_bold[white]%}}%{$reset_color%}"
PROMPT='%{$fg_bold[red]%}➜ %{$fg_bold[green]%}%n%{$fg[cyan]%}@%{$fg_bold[green]%}%m%{$fg_bold[green]%}%p %{$fg[cyan]%}%~ %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%}'
RPROMPT='$CURRENT_TIME_'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗ %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment