Skip to content

Instantly share code, notes, and snippets.

@aficiomaquinas
Last active March 4, 2017 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aficiomaquinas/97d30c8ed575c89793fe56c2d36af1e0 to your computer and use it in GitHub Desktop.
Save aficiomaquinas/97d30c8ed575c89793fe56c2d36af1e0 to your computer and use it in GitHub Desktop.
.profiles para nvm y rvm
# .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