Skip to content

Instantly share code, notes, and snippets.

@Cosmicist
Created February 21, 2014 16:50
Show Gist options
  • Save Cosmicist/9138046 to your computer and use it in GitHub Desktop.
Save Cosmicist/9138046 to your computer and use it in GitHub Desktop.
My zsh theme (should be saved in ~/.oh-my-zsh/themes)
PROMPT='%{$fg_bold[grey]%}%n%p:%{$fg[green]%}%~ %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}
%{$fg_bold[red]%}➜ %{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="{"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}} %{$fg[red]%}×%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}} %{$fg[green]%}✓%{$reset_color%}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment