Skip to content

Instantly share code, notes, and snippets.

@phuedx
Created July 16, 2012 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phuedx/3121720 to your computer and use it in GitHub Desktop.
Save phuedx/3121720 to your computer and use it in GitHub Desktop.
Replace Sublime Text 2's default icon with Daniel Matarazzo's
ROOT="/Applications/Sublime Text 2.app/Contents/Resources"
TEMP=$(/usr/bin/env mktemp -d '/tmp/Sublime-Text-2-Icon.XXXXXX')
git clone git://github.com/dmatarazzo/Sublime-Text-2-Icon.git $TEMP
cp "$ROOT/Sublime Text 2.icns" "$ROOT/Sublime Text 2.icns.old"
cp "$TEMP/Sublime Text 2.icns" "$ROOT/Sublime Text 2.icns"
rm -rf $TEMP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment