Skip to content

Instantly share code, notes, and snippets.

@pollardld
Last active June 2, 2023 00:01
Show Gist options
  • Save pollardld/f6a207bdb5b12e2b4daa7301cc11bb38 to your computer and use it in GitHub Desktop.
Save pollardld/f6a207bdb5b12e2b4daa7301cc11bb38 to your computer and use it in GitHub Desktop.
iterm2 shell integration commands

iTerm2 Shell Integration Commands

imgcat filename
  Displays the image inline.
imgls
  Shows a directory listing with image thumbnails.
it2api
  Command-line utility to manipulate iTerm2.
it2attention start|stop|fireworks
  Gets your attention.
it2check
  Checks if the terminal is iTerm2.
it2copy [filename]
  Copies to the pasteboard.
it2dl filename
  Downloads the specified file, saving it in your Downloads folder.
it2setcolor ...
  Changes individual color settings or loads a color preset.
it2setkeylabel ...
  Changes Touch Bar function key labels.
it2tip
  iTerm2 usage tips
it2ul
  Uploads a file.
it2universion
  Sets the current unicode version.
it2profile
  Change iTerm2 session profile on the fly.  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment