Skip to content

Instantly share code, notes, and snippets.

@rpetrenko
Last active March 31, 2018 21:06
Show Gist options
  • Save rpetrenko/0d702d606426ebbba8be14cf3796ecf6 to your computer and use it in GitHub Desktop.
Save rpetrenko/0d702d606426ebbba8be14cf3796ecf6 to your computer and use it in GitHub Desktop.
tmux_conf_uri="https://gist.githubusercontent.com/rpetrenko/e209a2216b0a7a74ad0b0468b5bd51ff/raw/66f7d6e8706595304dfcc4a02727e231f5ec39a2/.tmux.conf"
if [ ! -f ~/.tmux.conf ]; then
curl $tmux_conf_uri > ~/.tmux.conf
fi
ruby -v
git --version
brew -v
if [ ! $? -eq 0 ] ; then
echo "Installing brew"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
pip -V
if [ ! $? -eq 0 ]; then
echo "Installing pip"
brew install python@2
fi
virtualenv --version
if [ ! $? -eq 0 ]; then
pip install virtualenv
fi
wget -V
if [ ! $? -eq 0 ]; then
brew install wget
fi
sshpass -V
if [ ! $? -eq 0 ]; then
brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment