Skip to content

Instantly share code, notes, and snippets.

@aghuddleston
Forked from okunishinishi/docker-terminal.sh
Created August 18, 2016 13:52
Show Gist options
  • Save aghuddleston/fa4e9f8cfdd31151205bea592990cdb1 to your computer and use it in GitHub Desktop.
Save aghuddleston/fa4e9f8cfdd31151205bea592990cdb1 to your computer and use it in GitHub Desktop.
Start docker and change terminal theme on osx.
#!/bin/bash
#
# Start Docker terminal and set theme.
#
TERMINAL_APP="Terminal"
TERMINAL_THEME="Novel"
# Set Terminal theme
osascript -e "
tell application \"${TERMINAL_APP}\"
activate
set current settings of selected tab of front window to settings set \"${TERMINAL_THEME}\"
end tell
"
bash --login '/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment