Skip to content

Instantly share code, notes, and snippets.

@harrisonmalone
Last active July 6, 2020 02:49
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 harrisonmalone/2c57c1dea157d6960ffa89ccede11461 to your computer and use it in GitHub Desktop.
Save harrisonmalone/2c57c1dea157d6960ffa89ccede11461 to your computer and use it in GitHub Desktop.
# this gets rid of annoying bash warning
export BASH_SILENCE_DEPRECATION_WARNING=1
# this adds variable to bash_profile
export NVM_DIR="$HOME/.nvm"
# this loads nvm
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# this loads nvm bash_completion
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
# this loads rbenv
eval "$(rbenv init -)"
# this changes the terminal prompt
export PS1="\w "
# removes annoying rails warnings
export RUBYOPT='-W:no-deprecated -W:no-experimental'
# aliases
# this clears the screen in a nice way than command k
alias c='clear'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment