my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
929 B

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