diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-11-13 17:04:41 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-11-13 17:04:41 +0300 |
commit | cce9cf08e3bf0fe07bac706760840a9ff4617087 (patch) | |
tree | dcc11e27b4603721d692c7333aa3625742cd8cf8 /internal/p10k.zsh | |
parent | c3685015e6e0fa800477000fcc38f4cfb54c56ac (diff) |
add iterm2 marks to transient prompt
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 8124c49e..402dd8ae 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -5338,6 +5338,9 @@ function _p9k_init_cacheable() { _p9k_transient_prompt+=$_p9k_ret')}${${P9K_CONTENT::="❯"}+}' _p9k_param prompt_prompt_char_OK_VIINS CONTENT_EXPANSION '${P9K_CONTENT}' _p9k_transient_prompt+='${:-"'$_p9k_ret'"}%b%k%f%s%u ' + if [[ $ITERM_SHELL_INTEGRATION_INSTALLED == Yes ]]; then + _p9k_transient_prompt=$'%{\e]133;A\a%}'$_p9k_transient_prompt$'%{\e]133;B\a%}' + fi fi _p9k_uname="$(uname)" |