Skip to content

Instantly share code, notes, and snippets.

@bitforth
Created July 29, 2018 17:55
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 bitforth/4ce33684d94cb65774e5568982aceb9e to your computer and use it in GitHub Desktop.
Save bitforth/4ce33684d94cb65774e5568982aceb9e to your computer and use it in GitHub Desktop.
my .profile
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export PATH=$PATH:/Users/az/Library/Android/sdk/platform-tools/
export PS1="\[\033[36m\]\u\[\033[32m\]\[\033[97m\]@\[\033[32m\]\h:\[\033[93m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\]$ "
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
alias python=/usr/local/bin/python3
alias ls='ls -GFh'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment