From 02f14a9cb152561a5e44062aac79f3b700403b40 Mon Sep 17 00:00:00 2001 From: navewindre Date: Sun, 13 Jul 2025 06:42:05 +0200 Subject: omz --- home/.oh-my-zsh/plugins/iterm2/README.md | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 home/.oh-my-zsh/plugins/iterm2/README.md (limited to 'home/.oh-my-zsh/plugins/iterm2/README.md') diff --git a/home/.oh-my-zsh/plugins/iterm2/README.md b/home/.oh-my-zsh/plugins/iterm2/README.md new file mode 100644 index 0000000..86bd77f --- /dev/null +++ b/home/.oh-my-zsh/plugins/iterm2/README.md @@ -0,0 +1,41 @@ +# iTerm2 plugin + +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 ` + executes an arbitrary iTerm2 command via an escape code sequence. + See https://iterm2.com/documentation-escape-codes.html for all supported commands. + +* `iterm2_profile ` + changes the current terminal window's profile (colors, fonts, settings, etc). + `profile-name` is the name of another iTerm2 profile. The profile name can contain spaces. + +* `iterm2_tab_color ` + changes the color of iTerm2's currently active tab. + `red`/`green`/`blue` are on the range 0-255. + +* `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) -- cgit v1.2.3