Skip to content

Instantly share code, notes, and snippets.

@thewinger
Created December 5, 2016 09:17
Show Gist options
  • Save thewinger/565e0b9c09f0accf1d734a0db39eb161 to your computer and use it in GitHub Desktop.
Save thewinger/565e0b9c09f0accf1d734a0db39eb161 to your computer and use it in GitHub Desktop.
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
export BASH_CONF="bash_profile"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
export GITAWAREPROMPT=~/.bash/git-aware-prompt
source $GITAWAREPROMPT/main.sh
BLACK=$(tput setaf 0)
RED=$(tput setaf 1)
GREEN=$(tput setaf 2)
YELLOW=$(tput setaf 3)
LIME_YELLOW=$(tput setaf 190)
POWDER_BLUE=$(tput setaf 153)
BLUE=$(tput setaf 4)
MAGENTA=$(tput setaf 5)
CYAN=$(tput setaf 6)
export PS1="\[${BLUE}\]\u \[$txtrst\]\w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "
export SUDO_PS1="\[$bakred\]\u@\h\[$txtrst\] \w\$"
export CLICOLOR=1
export PATH="/opt/local/bin:$PATH"
export PATH="/usr/local/bin:$PATH"
alias simulator='open /Applications/Xcode.app/Contents/Developer/Applications/iOS\ Simulator.app'
alias web='cd ~/Dropbox/wip/web/'
alias gitdelete='git rm $(git ls-files --deleted)'
alias ll='ls -lah'
alias gg='git status -s'
source ~/.git-completion.bash
source ~/.git-prompt.sh
export LC_CTYPE=es_ES.UTF-8
export LC_ALL=en_GB.UTF-8
PATH=/opt/local/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment