Last active
March 4, 2017 17:53
-
-
Save aficiomaquinas/97d30c8ed575c89793fe56c2d36af1e0 to your computer and use it in GitHub Desktop.
.profiles para nvm y rvm
This file contains 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
# .bash_profile | |
################ | |
# Show/hide files | |
alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app' | |
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app' | |
# NVM | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
[[ -s "$HOME/.profile"]] && source "$HOME/.profile" # Load the default .profile | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
############### | |
# .bashrc | |
[ -n "$PS1" ] && source ~/.bash_profile; | |
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting | |
############### | |
ln -s /Applications/Sublime Text.app/Contents/SharedSupport/bin/subl subl | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment