Merge pull request #743 from onaforeignshore/iterm2_integration
Fix iTerm2 integration with PowerLevel9k
This commit is contained in:
commit
242bc34027
|
@ -1624,6 +1624,9 @@ $(print_icon 'MULTILINE_LAST_PROMPT_PREFIX')'
|
||||||
NEWLINE='
|
NEWLINE='
|
||||||
'
|
'
|
||||||
[[ $POWERLEVEL9K_PROMPT_ADD_NEWLINE == true ]] && PROMPT="$NEWLINE$PROMPT"
|
[[ $POWERLEVEL9K_PROMPT_ADD_NEWLINE == true ]] && PROMPT="$NEWLINE$PROMPT"
|
||||||
|
|
||||||
|
# Allow iTerm integration to work
|
||||||
|
[[ $ITERM_SHELL_INTEGRATION_INSTALLED == "Yes" ]] && PROMPT="%{$(iterm2_prompt_mark)%}$PROMPT"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue