Created
August 9, 2012 13:32
-
-
Save 0xjjpa/3304205 to your computer and use it in GitHub Desktop.
.bashrc and .profile for NVM and RVM to work with Sublime Text 2 (Ubuntu 12.04)
This file contains hidden or 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
###################### .bashrc ######################## | |
# Bash For NVM | |
. ~/nvm/nvm.sh | |
# Other | |
# [[ -s "$HOME/.nvm" ]] && . "$HOME/.nvm/nvm.sh" # This loads NVM into a shell se$ | |
# Bash For RVM | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" | |
###################### .bashrc ######################### | |
###################### .profile ######################## | |
# Vagrant | |
export PATH=$PATH:/opt/vagrant/bin | |
# RVM and NVM for scripting | |
export PATH=$PATH:$HOME/.rvm/bin | |
export PATH=$PATH:$HOME/nvm/v0.8.5/bin | |
###################### .profile ######################## |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment