Sha256: ddbdd8dbfc28e737bc96c6df305d1b95c7a9a001b63e4bfd96522da236b26d0c
Contents?: true
Size: 953 Bytes
Versions: 8
Compression:
Stored size: 953 Bytes
Contents
#!/bin/bash mkdir -p ~/.rvm/src ~/.rvm/bin cp $(pwd)/bash/rvm ~/.rvm/bin/ touch ~/.profile if [ -z "`grep '\.rvm/bin/rvm' ~/.profile`" ] ; then echo "Adding 'source ~/.rvm/bin/rvm' to your ~/.profile." echo "source ~/.rvm/bin/rvm" >> ~/.profile fi if [ -z "`grep '\.rvm/current' ~/.profile`" ] ; then echo "Adding 'source ~/.rvm/current' ~/.profile." echo "if [ -f ~/.rvm/current ] ; then source ~/.rvm/current ; fi" >> ~/.profile fi touch ~/.bash_profile if [ -z "`grep '\.profile' ~/.bash_profile`" ] ; then echo "Adding 'source ~/.profile' to the end of ~/.bash_profile." echo "if [ -f ~/.profile ] ; then source ~/.profile ; fi" >> ~/.bash_profile fi touch ~/.zprofile if [ -z "`grep '\.profile' ~/.zprofile`" ] ; then echo "Adding 'source ~/.profile' to the end of ~/.zprofile." echo "if [ -f ~/.profile ] ; then source ~/.profile ; fi" >> ~/.zprofile fi echo -e "\n\e[0;32mOpen a new shell and enjoy rvm: rvm usage\e[0m\n"
Version data entries
8 entries across 8 versions & 2 rubygems