mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-19 05:51:57 +00:00
Fix iTerm2 integration with PowerLevel9k
This fix allows the user to see the "little blue triangle" that is created when iTerm2 shell integration is enabled.
This commit is contained in:
parent
fd3d234354
commit
d841e1d0d0
1 changed files with 3 additions and 0 deletions
|
@ -1623,6 +1623,9 @@ $(print_icon 'MULTILINE_LAST_PROMPT_PREFIX')'
|
|||
NEWLINE='
|
||||
'
|
||||
[[ $POWERLEVEL9K_PROMPT_ADD_NEWLINE == true ]] && PROMPT="$NEWLINE$PROMPT"
|
||||
|
||||
# Allow iTerm integration to work
|
||||
[[ $ITERM_SHELL_INTEGRATION_INSTALLED == "Yes" ]] && PROMPT="%{$(iterm2_prompt_mark)%}$PROMPT"
|
||||
}
|
||||
|
||||
set_default POWERLEVEL9K_IGNORE_TERM_COLORS false
|
||||
|
|
Loading…
Reference in a new issue