8/30/2016 - 8:14 PM

Example .bash_profile with aliases set up.

Example .bash_profile with aliases set up.

# Navigation Shortcuts
alias dev='cd ~/dev'                                    # Navigate to dev env
alias gosrc='cd ~/dev/golang-workspace/src'             # Navigate to Golang src directory
alias gobin='cd ~/dev/golang-workspace/bin'             # Navigate to Golang bin directory

# Utility Commands
alias obash='nano ~/.bash_profile'                      # Open this file
alias sbash='source ~/.bash_profile'                    # Source this file
alias ll='ls -al'
alias path='echo -e ${PATH//:/\\n}'                     # Echo all executable paths
alias size='du -sh'                                     # Prints size of current directory or file $
alias del='rm -rf'
alias diff='git diff --diff-filter=M'                   # Git diff restricted to content modifications

export NVM_DIR="/Users/codyanderson/.nvm"
[ -s "$NVM_DIR/" ] && \. "$NVM_DIR/"  # This loads nvm

# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
export PATH