Skip to content

Instantly share code, notes, and snippets.

@adamesque
Created March 12, 2012 19:04
Show Gist options
  • Save adamesque/2024005 to your computer and use it in GitHub Desktop.
Save adamesque/2024005 to your computer and use it in GitHub Desktop.
My totally awesome oh-my-zsh theme.
local user_host='%{$fg[green]%}%n@%m%{$reset_color%}'
local current_dir='%{$fg[yellow]%} %~%{$reset_color%}'
local git_branch='$(git_prompt_info)%{$reset_color%}'
PROMPT="
${user_host}${current_dir} ${git_branch}
⑆ "
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[yellow]%}("
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[yellow]%}) %{$fg[red]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[yellow]%})"
@adamesque
Copy link
Author

Here's what it looks like. You should probably also use Solarized as your Terminal theme.
Screenshot of my theme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment