diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2018-03-07 05:04:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-07 05:04:24 +0300 |
commit | 242bc34027f2d539e7f105ba3c996b32d85df905 (patch) | |
tree | 9648b8f5b3c539642d9504e700ad1c55904fee67 /powerlevel9k.zsh-theme | |
parent | db3ae5f053f73c588b6c46e48af1fe0dc777ee7f (diff) | |
parent | d841e1d0d0bbc1260a12930d79402b93c57c828d (diff) |
Merge pull request #743 from onaforeignshore/iterm2_integration
Fix iTerm2 integration with PowerLevel9k
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index d4df766a..52cda48d 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -1624,6 +1624,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" } |