Skip to content

Instantly share code, notes, and snippets.

@noma4i
Forked from tekwiz/rmate-setup.sh
Last active August 29, 2015 14:27
Show Gist options
  • Save noma4i/1346b3997978c5ae2643 to your computer and use it in GitHub Desktop.
Save noma4i/1346b3997978c5ae2643 to your computer and use it in GitHub Desktop.
Download & setup rmate
#!/usr/bin/env bash
##
# Run with:
#
# curl -sSL https://gist.githubusercontent.com/noma4i/1346b3997978c5ae2643/raw/68830673a7f70bf47264841b4d523a4ddc7eb687/rmate-setup.sh | bash -s
#
mkdir -p ~/bin
curl -Lo ~/bin/rmate https://raw.github.com/textmate/rmate/master/bin/rmate
chmod +x ~/bin/rmate
if [[ !($PATH =~ ^.*$HOME/bin) ]]; then
echo 'export PATH="$PATH:$HOME/bin"' >> ~/.bash_profile
fi
@noma4i
Copy link
Author

noma4i commented Aug 15, 2015

Fork of excellent RMATE gist. Forked for security purpose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment