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.
Unfortunately as many people will know, when iTerm's Applescript functionality changes it can often break integration with Alfred.
Note: Check your iTerm version (iTerm2
→ About iTerm2
) and follow the instructions corresponding to your version below.
Check out the official YouTube video, it will give you a quick two and a half minute rundown.
- Run one of these terminal commands to copy the Applescript for your iTerm2 version to your clipboard.
- For
3.1.1
:
curl --silent 'https://raw.githubusercontent.com/stuartcryan/custom-iterm-applescripts-for-alfred/master/custom_iterm_script_iterm_3.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
- 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
- Paste it under
Alfred Preferences
→Features
→Terminal / Shell
→Application
→Custom
.
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).
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.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Scripts created and maintained by Stuart Ryan. If you would like to get into contact you can do so via:
Released under the GNU GENERAL PUBLIC LICENSE Version 2, June 1991