Open the iTerm tabs you'll need for development
kidtabs in Alfred
Download here
- iOS project
- Laravel project. Usually where I run artisan commands
- Laravel project; Tails most recent file in the log directory. I also jump around from here. Usually CDing to the realm directory to pop it into Realm Browser
- React project
- Ansible project
If you choose to run this directly from iTerm, this is the underlying script. Crude but does the job
tell application "iTerm2"
tell current session of current window
write text "cd ~/workspace/kidfund/ios/Kidfund"
end tell
tell current window
create tab with default profile
tell current session of current tab
write text "cd ~/workspace/kidfund/web"
end tell
end tell
tell current window
create tab with default profile
tell current session of current tab
write text "cd ~/workspace/kidfund/web && tail -f storage/logs/\"$(ls -at storage/logs | head -n 1)\""
end tell
end tell
tell current window
create tab with default profile
tell current session of current tab
write text "cd ~/workspace/kidfund/web-react"
end tell
end tell
tell current window
create tab with default profile
tell current session of current tab
write text "cd ~/workspace/kidfund/automation/ansible"
end tell
end tell
end tell