Skip to content

Instantly share code, notes, and snippets.

@overbalance
Forked from adamesque/adamluikart.zsh-theme
Created August 21, 2012 17:24
Show Gist options
  • Save overbalance/3417534 to your computer and use it in GitHub Desktop.
Save overbalance/3417534 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]%})"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment