Create two scripts and drop them in a directory – I use ~/bin
.
#!/usr/bin/env bash
open -a Terminal.app ~/bin/insect.command
#!/usr/bin/env bash
printf '\e[8;35;60t' #resize window
clear
insect
Run:
chmod +x ~/bin/insect.bash
chmod +x ~/bin/insect-open.bash
- Open Automator.app and create a new "app"
- Add a "Run Shell Script" action
- Set to run "
~/bin/insect-open.command
" - Save as Insect.app in /Applications
Open Insect.app, which will open a new Terminal.app window, resize it, clear the screen, and run insect
.