Skip to content

Instantly share code, notes, and snippets.

@JuanCaicedo
Created December 11, 2017 05:38
Show Gist options
  • Save JuanCaicedo/939662018434da85eb649c5f59b85a5f to your computer and use it in GitHub Desktop.
Save JuanCaicedo/939662018434da85eb649c5f59b85a5f to your computer and use it in GitHub Desktop.
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
local nvm_node=''
nvm_node='%{$fg[green]%}‹node-$(nvm_prompt_info)›%{$reset_color%}'
local git_branch='$(git_prompt_info)%{$reset_color%}'
PROMPT='$(nvm_prompt_info) $(git_prompt_info)
%{$fg[cyan]%}%c ${ret_status}%{$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[blue]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
ZSH_THEME_NVM_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$fg[red]%}"
ZSH_THEME_NVM_PROMPT_SUFFIX="%{$fg_bold[blue]%})%{$reset_color%}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment