Skip to content

Instantly share code, notes, and snippets.

@tekwiz
Last active January 2, 2016 10:19
Show Gist options
  • Save tekwiz/8289262 to your computer and use it in GitHub Desktop.
Save tekwiz/8289262 to your computer and use it in GitHub Desktop.
Download & setup rmate
#!/usr/bin/env bash
##
# Run with:
#
# curl -sSL https://gist.github.com/tekwiz/8289262/raw/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment