aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-11-06 15:29:20 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-11-06 15:29:20 +0300
commit845aefd74688c069fec939424c0b70e0f4b966b9 (patch)
tree57cf47dd535b55db071e8ceff09265af195cf3ad /internal/p10k.zsh
parent702439f386579836a779515052f1d81f52a29725 (diff)
s/_p9k_last_prompt_pwd/_p9k__last_prompt_pwd/
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 4cc04af2..5ebee520 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -4543,7 +4543,7 @@ _p9k_init_vars() {
typeset -g _p9k_uname_o
typeset -g _p9k_uname_m
typeset -g _p9k_transient_prompt
- typeset -g _p9k_last_prompt_pwd
+ typeset -g _p9k__last_prompt_pwd
typeset -gA _p9k__display_k
typeset -ga _p9k__display_v
@@ -4893,12 +4893,12 @@ function _p9k_zle_line_finish() {
fi
if [[ -n $_p9k_transient_prompt ]]; then
- if [[ $_POWERLEVEL9K_TRANSIENT_PROMPT == always || $_p9k_pwd == $_p9k_last_prompt_pwd ]]; then
+ if [[ $_POWERLEVEL9K_TRANSIENT_PROMPT == always || $_p9k_pwd == $_p9k__last_prompt_pwd ]]; then
RPROMPT=
PROMPT=$_p9k_transient_prompt
reset=1
else
- _p9k_last_prompt_pwd=$_p9k_pwd
+ _p9k__last_prompt_pwd=$_p9k_pwd
fi
fi