Skip to content

Instantly share code, notes, and snippets.

@adamweeks
Created February 22, 2019 17:30
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 adamweeks/830c625424169f21b2fbf801f41e95d4 to your computer and use it in GitHub Desktop.
Save adamweeks/830c625424169f21b2fbf801f41e95d4 to your computer and use it in GitHub Desktop.
#Colorful Terminal
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
export CLICOLOR=1
# Aliases
alias ll="ls -al";
alias ..="cd ../";
alias ..l="cd ../ && ll";
alias vb="vim ~/.bash_profile";
alias sb="source ~/.bash_profile";
# Title used for iTerm
function title {
echo -ne "\033]0;"$*"\007"
}
# NVM
export NVM_DIR="/Users/adweeks/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
# Homebrew
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
# Git Completion
source ~/.git-completion.bash
# Oh My Git prompt
source /Users/adweeks/.oh-my-git/prompt.sh
# Android Dev
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment