Skip to content

Instantly share code, notes, and snippets.

@chrisvogt
Last active June 8, 2017 05:57
Show Gist options
  • Select an option

  • Save chrisvogt/a3ec26566ff4c00d4464ab6a7e529f76 to your computer and use it in GitHub Desktop.

Select an option

Save chrisvogt/a3ec26566ff4c00d4464ab6a7e529f76 to your computer and use it in GitHub Desktop.
My personal ~/.bash_profile script.
# Wakatime
# source ~/.wakatime/bash-wakatime.sh
# NVM
export NVM_DIR="$HOME/.nvm"
. "$(brew --prefix nvm)/nvm.sh"
# Init Archey
# archey
# Load RVM into a shell session *as a function*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
# Alias for Sublime Text: subl
alias subl='sublime'
# Apache CLI tool
alias apachectl=/usr/sbin/apachectl
# Show hidden files
alias showhidden='defaults write com.apple.finder AppleShowAllFiles YES'
# Hide hidden files
alias hidehidden='defaults write com.apple.finder AppleShowAllFiles NO'
# The next line updates PATH for the Google Cloud SDK.
# source '~/Dev/Resources/google-cloud-sdk/path.bash.inc'
# The next line enables shell command completion for gcloud.
# source '~/Dev/Resources/google-cloud-sdk/completion.bash.inc'
# source $(brew --prefix autoenv)/activate.sh
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
# RVM
source ~/.profile
# Chrome
alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
alias chrome-canary="/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary"
alias chromium="/Applications/Chromium.app/Contents/MacOS/Chromium"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment