mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-25 13:30:07 +00:00
don't expand _p9k_dir when dir is hidden via 'p10k display'; see #952
This commit is contained in:
parent
ebfaae2ab6
commit
03ab8e9c7e
1 changed files with 1 additions and 1 deletions
|
@ -5589,7 +5589,7 @@ function _p9k_set_prompt() {
|
|||
fi
|
||||
fi
|
||||
_p9k__prompt+='${${_p9k__d::=$((_p9k__m-_p9k__h))}+}'
|
||||
_p9k__prompt+='${_p9k__lprompt/\%\{d\%\}*\%\{d\%\}/'$_p9k__dir'}'
|
||||
_p9k__prompt+='${_p9k__lprompt/\%\{d\%\}*\%\{d\%\}/${_p9k__'$_p9k__line_index'ldir-'$_p9k__dir'}}'
|
||||
_p9k__prompt+='${${_p9k__m::=$((_p9k__d+_p9k__h))}+}'
|
||||
else
|
||||
_p9k__prompt+='${_p9k__lprompt}'
|
||||
|
|
Loading…
Reference in a new issue