Skip to content

Instantly share code, notes, and snippets.

@jsaund
Created October 7, 2017 18:24
Show Gist options
  • Save jsaund/9c830bb2e45355b42391defdb6cda7e5 to your computer and use it in GitHub Desktop.
Save jsaund/9c830bb2e45355b42391defdb6cda7e5 to your computer and use it in GitHub Desktop.
My oh-my-zsh theme
PROMPT='%{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)%{$fg_bold[grey]%}[%*]: %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}[%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}●%{$fg_bold[blue]%}]"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}●%{$fg_bold[blue]%}]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment