Home

Awesome

Custom Alfred iTerm Scripts

AppleScript for iTerm2 Alfred integration.

Use

  1. Copy the script to your clipboard (see below).
  2. Open Alfred Preferences (call Alfred and press <kbd></kbd><kbd>,</kbd>).
  3. Navigate to Features → Terminal → Custom.
  4. Set Application to Custom.
  5. Select the text in the box.
  6. Paste.
  7. Optionally, change the script’s behaviour by changing the property lines at the top.

Copy the script

To copy the script to your clipboard, run the following command.

curl --silent 'https://raw.githubusercontent.com/vitorgalvao/custom-alfred-iterm-scripts/master/custom_iterm_script.applescript' | pbcopy