Custom iTerm Applescripts for Alfred
AppleScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit 2aaf457 Feb 8, 2018
stuartcryan Merge pull request #27 from RichDonnellan/patch-1
Prevent multiple tabs opening in v3.0.6 #26

README.md

custom-iterm-applescripts-for-alfred

Unfortunately as many people will know, when iTerm's Applescript functionality changes it can often break integration with Alfred

This repository contains custom Applescripts that can be put into the Alfred --> Features --> Terminal --> Custom section to enable the correct operation of iTerm with Alfred.

Custom iTerm Applescripts for using iTerm in Alfred.

Note: the version 3 beta of iTerm is actually known as 2.9 and the 2.9 version of the iterm-alfred integration script is all ready to roll and will work for those of you using the iTerm version 3 beta (a.k.a. iTerm 2.9.something)

How to install the scripts

Video version

Check out the official YouTube video, it will give you a quick two and a half minute rundown. ScreenShot

Text version

  1. Copy the script for the iTerm2 version you have.
  • For 2.1.1:
curl --silent 'https://raw.githubusercontent.com/stuartcryan/custom-iterm-applescripts-for-alfred/master/custom_iterm_script_iterm_2.1.1.applescript' | pbcopy
  • For 2.9:
curl --silent 'https://raw.githubusercontent.com/stuartcryan/custom-iterm-applescripts-for-alfred/master/custom_iterm_script_iterm_2.9.applescript' | pbcopy
  1. Paste it under Alfred PreferencesFeaturesTerminal / ShellApplicationCustom.

Copy to preferences gif

Specific Version Notes

If you have iTerm in a location other than /Applications/iTerm.app make sure you update the Applescript templates to match that (see inline comments).

Donations

If you would like to say thanks and donate which will give me ever more life giving caffeine Diet Coke, some Cake, or to put towards a shiny new gadget you can donate to me via Paypal.

PayPal — The safer, easier way to pay online.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

Scripts created and maintained by Stuart Ryan. If you would like to get into contact you can do so via:

License

Released under the GNU GENERAL PUBLIC LICENSE Version 2, June 1991