Skip to content

Instantly share code, notes, and snippets.

@okunishinishi
Last active August 18, 2016 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save okunishinishi/9fdf97aa0ee3041b5e4d to your computer and use it in GitHub Desktop.
Save okunishinishi/9fdf97aa0ee3041b5e4d 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