Created
February 7, 2010 19:46
-
-
Save mattpuchlerz/297635 to your computer and use it in GitHub Desktop.
Simple bash script to zoom OS X applications and open up a project full-screen in TextMate.
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
zoom() { | |
if [ -z $1 ]; then | |
echo "usage: $FUNCNAME ApplicationName" | |
else | |
osascript -e "tell application \"$1\" to set zoomed of window 1 to not (zoomed of window 1)" 2>&1 >/dev/null | |
fi | |
} | |
alias mysite="cd ~/Sites/mysite.com && mate app/ config/ features/ public/ spec/ && zoom TextMate" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment