1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-17 10:10:07 +00:00

add iterm2 marks to transient prompt

This commit is contained in:
romkatv 2019-11-13 15:04:41 +01:00
parent c3685015e6
commit cce9cf08e3

View file

@ -5338,6 +5338,9 @@ function _p9k_init_cacheable() {
_p9k_transient_prompt+=$_p9k_ret')}${${P9K_CONTENT::=""}+}' _p9k_transient_prompt+=$_p9k_ret')}${${P9K_CONTENT::=""}+}'
_p9k_param prompt_prompt_char_OK_VIINS CONTENT_EXPANSION '${P9K_CONTENT}' _p9k_param prompt_prompt_char_OK_VIINS CONTENT_EXPANSION '${P9K_CONTENT}'
_p9k_transient_prompt+='${:-"'$_p9k_ret'"}%b%k%f%s%u ' _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 fi
_p9k_uname="$(uname)" _p9k_uname="$(uname)"