Skip to content

Instantly share code, notes, and snippets.

@walbinjr
Created February 3, 2017 14:32
Show Gist options
  • Save walbinjr/4887b59e5bfd568d3e0172ce5bddf159 to your computer and use it in GitHub Desktop.
Save walbinjr/4887b59e5bfd568d3e0172ce5bddf159 to your computer and use it in GitHub Desktop.
Oh-my-zsh Theme
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)"
PROMPT=$'${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%~ %{$fg_bold[blue]%}rb:(%{$fg_bold[yellow]%}$(current_ruby)%{$fg_bold[blue]%}) %{$fg_bold[blue]%}n:(%{$fg_bold[yellow]%}$(nvm_prompt_info)%{$fg_bold[blue]%}) $(git_prompt_info)\
%{$fg[blue]%}->%{$fg_bold[blue]%} %#%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment