Created
February 10, 2013 19:14
-
-
Save fanktom/4750675 to your computer and use it in GitHub Desktop.
Automatically copies the rmate ruby script to a remote server to give him rmate support
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
#!/usr/bin/env bash | |
# encoding: UTF-8 | |
TEXT_MATE_APP_NAME="TextMate2" | |
scp /Applications/$TEXT_MATE_APP_NAME.app/Contents/Frameworks/Preferences.framework/Resources/rmate $1:/usr/bin/rmate | |
# Usage | |
# Copy this file to localhost /usr/bin/rmateify | |
# Run rmateify root@servername once |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment