]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/iterm2/README.md
50cdebf5ef1ea343c067a2b2141a356ffa91e3c5
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / iterm2 / README.md
1 # iTerm2 plugin
2
3 This plugin adds a few functions that are useful when using [iTerm2](https://www.iterm2.com/).
4
5 To use it, add _iterm2_ to the plugins array of your zshrc file:
6 ```
7 plugins=(... iterm2)
8 ```
9
10 ## Plugin commands
11
12 * `_iterm2_command <iterm2-command>`
13   executes an arbitrary iTerm2 command via an escape code sequence.
14   See https://iterm2.com/documentation-escape-codes.html for all supported commands.
15
16 * `iterm2_profile <profile-name>`
17   changes the current terminal window's profile (colors, fonts, settings, etc).
18   `profile-name` is the name of another iTerm2 profile. The profile name can contain spaces.
19
20 * `iterm2_tab_color <red> <green> <blue>`
21   changes the color of iTerm2's currently active tab.
22   `red`/`green`/`blue` are on the range 0-255.
23
24 * `iterm2_tab_color_reset`
25   resets the color of iTerm2's current tab back to default.
26
27 ## Contributors
28
29 - [Aviv Rosenberg](https://github.com/avivrosenberg)