Skip to content

Instantly share code, notes, and snippets.

@aisrael
Created June 20, 2017 23:51
Show Gist options
  • Save aisrael/fe438a90b3f1bd6fc4c351f409dbeceb to your computer and use it in GitHub Desktop.
Save aisrael/fe438a90b3f1bd6fc4c351f409dbeceb to your computer and use it in GitHub Desktop.
$ curl -L https://iterm2.com/shell_integration/install_shell_integration_and_utilities.sh | bash
######################################################################## 100.0%
Downloading script from https://iterm2.com/shell_integration/bash and saving it to /Users/aisrael/.iterm2_shell_integration.bash...
Checking if /Users/aisrael/.bash_profile contains iterm2_shell_integration...
Downloading imgcat...
Downloading imgls...
Downloading it2attention...
Downloading it2check...
Downloading it2copy...
Downloading it2dl...
Downloading it2getvar...
Downloading it2setcolor...
Downloading it2setkeylabel...
Downloading it2ul...
Downloading it2universion...
Adding aliases...
Done.
--------------------------------------------------------------------------------
The next time you log in, shell integration will be enabled.
You will also have these commands:
imgcat filename
Displays the image inline.
imgls
Shows a directory listing with image thumbnails
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
it2ul
Uploads a file
it2universion
Sets the current unicode version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment