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.
pull/22/head
Christo Kotze 7 years ago
parent fd3d234354
commit d841e1d0d0

@ -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…
Cancel
Save