mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-03 11:10:08 +00:00
fix(lib): quote % in nvm_prompt_info
This commit is contained in:
parent
304af0a577
commit
5b076eab9b
1 changed files with 1 additions and 1 deletions
|
@ -2,5 +2,5 @@
|
|||
function nvm_prompt_info() {
|
||||
which nvm &>/dev/null || return
|
||||
local nvm_prompt=${$(nvm current)#v}
|
||||
echo "${ZSH_THEME_NVM_PROMPT_PREFIX}${nvm_prompt}${ZSH_THEME_NVM_PROMPT_SUFFIX}"
|
||||
echo "${ZSH_THEME_NVM_PROMPT_PREFIX}${nvm_prompt:gs/%/%%}${ZSH_THEME_NVM_PROMPT_SUFFIX}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue