Skip to content

Instantly share code, notes, and snippets.

View munkhorgil's full-sized avatar
🎯
Focusing

Orgil munkhorgil

🎯
Focusing
View GitHub Profile
@munkhorgil
munkhorgil / startProject.sh
Last active October 10, 2019 15:34
Start multiple project at once on macOS
#!/bin/bash
osascript <<EOD
tell application "iTerm"
tell current window
-- create a tab for repo: erxes/erxes
create tab with default profile
tell current session
write text "cd ~/Documents/repos/erxes"
write text "yarn start"
-- split tab vertically to run scheduler