mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-17 18:20:07 +00:00
add iterm2 marks to transient prompt
This commit is contained in:
parent
c3685015e6
commit
cce9cf08e3
1 changed files with 3 additions and 0 deletions
|
@ -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)"
|
||||||
|
|
Loading…
Reference in a new issue