This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export TEST_LINK="http://localhost:1234/blah" | |
alias startsplit='osascript -e "tell application \"Terminal\" to activate" -e "tell application \"System Events\" to tell process \"Terminal\" to keystroke \"t\" using command down" -e "tell application \"Terminal\" to do script \"~/source/project1/script/server\" in selected tab of the front window" & concurrently -n proxy,project2,chrome -c grey.dim,blue.dim,grey.dim,magenta.dim "~/source/project1/script/proxy start" "~/source/go/src/github.com/project2/script/server" "open -na \"Google Chrome\" --args --incognito \"$TEST_LINK\""' |