Mira theme: define jenv_prompt_info if not defined

Should no longer see 'zsh: command not found: jenv_prompt_info'
This commit is contained in:
defektive 2015-10-19 10:58:50 -06:00
parent aa15ebad3e
commit 6b1d6ca581

View File

@ -16,6 +16,15 @@ fi
local nvm_node=''
nvm_node='%{$fg[green]%}node-$(nvm_prompt_info)%{$reset_color%}'
if ! type "jenv_prompt_info" | grep -q 'shell function'; then
jenv_prompt_info()
{
echo -n
}
fi
local jenv_java=''
jenv_java='%{$fg[blue]%}$(jenv_prompt_info)%{$reset_color%}'