Little Alfred2 workflow to chose between pre-configured iTerm2 splitted windows.
Such windows could be initiated with bash scripts.
You could for instance automaticaly ssh to your favourite server and run remote "tail -f /var/log/your-favourite-log" in one windows + tail an other log file in an other splitted window, etc.
Edit the AppleScript within the workflow (first few lines) and configure the iTerm2 windows the way you want it.
This workflow come with sample configs.
Basic usage would be keyword "config-name".
- default keywork is "iterm"
- sample configs are "1" ou "2" or "3" (ex: "iterm 1")
This Workflow is fully based on Luis Martin Gil AppleScript available on GitHub.
Inspiration for this workflow came from a blog.manbolo.com article that featured pane - a python script that does the same without need of Alfred2.