diff options
author | Zoltán Reegn <zoltan.reegn@gmail.com> | 2023-02-24 17:27:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-24 17:27:15 +0100 |
commit | bd9c216fe04a1542913f524cad1719797ce39ba2 (patch) | |
tree | dc4399e62e5a967160a2f4774bc6b2e435ffdb7b /plugins/iterm2/README.md | |
parent | 8a008e1f51d451db21232edd6f1709e6c5ea334e (diff) | |
download | zsh-bd9c216fe04a1542913f524cad1719797ce39ba2.tar.gz zsh-bd9c216fe04a1542913f524cad1719797ce39ba2.tar.bz2 zsh-bd9c216fe04a1542913f524cad1719797ce39ba2.zip |
feat(iterm2): add shell integration script (#11509)
Diffstat (limited to 'plugins/iterm2/README.md')
-rw-r--r-- | plugins/iterm2/README.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/iterm2/README.md b/plugins/iterm2/README.md index 50cdebf5e..3d11622df 100644 --- a/plugins/iterm2/README.md +++ b/plugins/iterm2/README.md @@ -2,11 +2,20 @@ This plugin adds a few functions that are useful when using [iTerm2](https://www.iterm2.com/). + To use it, add _iterm2_ to the plugins array of your zshrc file: ``` plugins=(... iterm2) ``` +Optionally, the plugin also applies the [Shell Integration Script for iTerm2](https://iterm2.com/documentation-shell-integration.html). +You can enable the integration with zstyle. It's important to add this line +before the line sourcing oh-my-zsh: + +``` +zstyle :omz:plugins:iterm2 shell-integration yes +``` + ## Plugin commands * `_iterm2_command <iterm2-command>` @@ -24,6 +33,9 @@ plugins=(... iterm2) * `iterm2_tab_color_reset` resets the color of iTerm2's current tab back to default. + +For shell integration features see the [official documentation](https://iterm2.com/documentation-shell-integration.html). + ## Contributors - [Aviv Rosenberg](https://github.com/avivrosenberg) |