2012-05-07 16:21:28 -04:00
|
|
|
# walkah ZSH Theme
|
|
|
|
|
|
|
|
if [ -z $SSH_CONNECTION ]; then HCOLOR="green"; else HCOLOR="blue"; fi
|
|
|
|
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
|
|
|
|
2016-03-25 16:53:26 -04:00
|
|
|
ZSH_THEME_RVM_PROMPT_PREFIX="("
|
|
|
|
ZSH_THEME_RVM_PROMPT_SUFFIX="/"
|
|
|
|
ZSH_THEME_NVM_PROMPT_PREFIX=""
|
|
|
|
ZSH_THEME_NVM_PROMPT_SUFFIX=")"
|
|
|
|
|
2012-06-23 11:41:11 -04:00
|
|
|
PROMPT='%{$fg[$HCOLOR]%}%m%{$reset_color%}:%c \
|
2012-05-07 16:21:28 -04:00
|
|
|
$(git_prompt_info)%{$fg[red]%}%(!.#.»)%{$reset_color%} '
|
|
|
|
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
|
2016-09-26 20:27:05 -04:00
|
|
|
RPS1='%{$fg[cyan]%}(ruby-$(ruby_prompt_info)/node-$(nvm_prompt_info) %{$reset_color%}${return_code}'
|
2012-05-07 16:21:28 -04:00
|
|
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}±%{$fg[yellow]%}"
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
|
|
|
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
|
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}✗%{$reset_color%}"
|
|
|
|
|