From c7914c051d98492185d7c4f997b4f06c18f99d54 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Thu, 26 Nov 2020 13:21:57 +0100 Subject: [PATCH] remove spurious slashes from tmux bypass sequences --- internal/p10k.zsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 08faac75..e55f1d21 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -7841,8 +7841,8 @@ _p9k_init_prompt() { if [[ $ITERM_SHELL_INTEGRATION_INSTALLED == Yes ]]; then if (( _z4h_can_save_restore_screen == 1 )); then - _p9k_prompt_prefix_left+=$'%{\ePtmux;\e\e]133;A\a\e\\\\%}' - _p9k_prompt_suffix_left+=$'%{\ePtmux;\e\e]133;B\a\e\\\\%}' + _p9k_prompt_prefix_left+=$'%{\ePtmux;\e\e]133;A\a\e\\%}' + _p9k_prompt_suffix_left+=$'%{\ePtmux;\e\e]133;B\a\e\\%}' else _p9k_prompt_prefix_left+=$'%{\e]133;A\a\e%}' _p9k_prompt_suffix_left+=$'%{\e]133;B\a\e%}' @@ -7937,7 +7937,7 @@ _p9k_must_init() { [[ $sig == $_p9k__param_sig ]] && return 1 _p9k_deinit fi - _p9k__param_pat=$'v110\1'${(q)ZSH_VERSION}$'\1'${(q)ZSH_PATCHLEVEL}$'\1' + _p9k__param_pat=$'v111\1'${(q)ZSH_VERSION}$'\1'${(q)ZSH_PATCHLEVEL}$'\1' _p9k__param_pat+=$'${#parameters[(I)POWERLEVEL9K_*]}\1${(%):-%n%#}\1$GITSTATUS_LOG_LEVEL\1' _p9k__param_pat+=$'$GITSTATUS_ENABLE_LOGGING\1$GITSTATUS_DAEMON\1$GITSTATUS_NUM_THREADS\1' _p9k__param_pat+=$'$GITSTATUS_CACHE_DIR\1$GITSTATUS_AUTO_INSTALL\1${ZLE_RPROMPT_INDENT:-1}\1' @@ -8011,7 +8011,7 @@ function _p9k_init_cacheable() { _p9k_transient_prompt+=')%b%k%f%s%u ' if [[ $ITERM_SHELL_INTEGRATION_INSTALLED == Yes ]]; then if (( _z4h_can_save_restore_screen == 1 )); then - _p9k_transient_prompt=$'%{\ePtmux;\e\e]133;A\a\e\\\\%}'$_p9k_transient_prompt$'%{\ePtmux;\e\e]133;B\a\e\\\\%}' + _p9k_transient_prompt=$'%{\ePtmux;\e\e]133;A\a\e\\%}'$_p9k_transient_prompt$'%{\ePtmux;\e\e]133;B\a\e\\%}' else _p9k_transient_prompt=$'%{\e]133;A\a%}'$_p9k_transient_prompt$'%{\e]133;B\a%}' fi