aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-10-16 11:43:07 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-10-16 11:43:07 +0300
commitf21a2e3c46fc95fd2ccd0ecfb34da23ed5dc5d7a (patch)
treebc72d5dbd037938b91f08cb3926ca5d2313ff9b5 /internal/p10k.zsh
parentfc404a2d8a7899ada22c19548f5560274f811307 (diff)
add ITERM_SHELL_INTEGRATION_INSTALLED to param sig; inline iterm2_prompt_mark
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 820a3457..7f731888 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -4413,7 +4413,7 @@ _p9k_init_prompt() {
fi
if [[ $ITERM_SHELL_INTEGRATION_INSTALLED == Yes ]]; then
- _p9k_prompt_prefix_left+="%{$(iterm2_prompt_mark)%}"
+ _p9k_prompt_prefix_left+=$'%{\e]133;A\a%}'
fi
[[ -o transient_rprompt && -n "$_p9k_line_segments_right[1,-2]" ]] ||
@@ -4458,7 +4458,8 @@ _p9k_must_init() {
'${ZSH_VERSION}' '${ZSH_PATCHLEVEL}' '${(%):-%n}' '${GITSTATUS_LOG_LEVEL}'
'${GITSTATUS_ENABLE_LOGGING}' '${GITSTATUS_DAEMON}' '${GITSTATUS_NUM_THREADS}'
'${DEFAULT_USER}' '${ZLE_RPROMPT_INDENT}' '${P9K_SSH}' '${__p9k_ksh_arrays}'
- '${__p9k_sh_glob}' '${parameters[transient_rprompt]}' 'v8')
+ '${__p9k_sh_glob}' '${parameters[transient_rprompt]}' '${ITERM_SHELL_INTEGRATION_INSTALLED}'
+ 'v8')
IFS=$'\2' param_sig="${(e)param_sig}"
[[ $param_sig == $_p9k_param_sig ]] && return 1
[[ -n $_p9k_param_sig ]] && _p9k_deinit