Alfred Workflow - New Terminal Window
Alfred workflow to open a new Terminal/iTerm window in the current space. Holding the alt key, the new window will be opened in the current frontmost Finder folder.
How to use
Install the workflow and type one of the following keyword on Alfred:
iTerm
tw
: open a new iTerm windowtw
pressingenter
together with thealt
key: open the current Finder folder in a new iTerm window
The workflow will also suggest all the available profiles for iTerm.
One can also open iTerm directly with a profile in this way:
tw myprofilename
Terminal
ttw
: open a new Terminal windowttw
pressingenter
together with thealt
key: open the current Finder folder in a new Terminal window
General notes
- The new window is placed in the current desktop
- If a terminal window is open, it doesn't focus that window, but a new one will be created. If you want to focus an existing Terminal, you can just write "iTerm" or "Terminal" using Alfred.
- Once the workflow has been imported, feel free to change the default keywords if you don't like them.
- For speed improvement, the default iTerm profile will appear instantaneously, while the other will appear after some milliseconds (because that requires to read the available iTerm profiles).