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:
parent
aa15ebad3e
commit
6b1d6ca581
@ -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%}'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user