Skip to content

Instantly share code, notes, and snippets.

@omribahumi
Created August 29, 2013 17:11
Show Gist options
  • Save omribahumi/6380798 to your computer and use it in GitHub Desktop.
Save omribahumi/6380798 to your computer and use it in GitHub Desktop.
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
if [ `which gsed` ]; then
alias sed='gsed'
fi
alias ls='ls -G'
alias grep='grep --color'
export PS1="$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]\h'; else echo '\[\033[01;32m\]\u@\h'; fi)\[\033[01;34m\] \w \$(__git_ps1 '\[\033[01;32m\](%s)\[\033[01;34m\] ')\$([[ \$? != 0 ]] && echo \"\[\033[01;31m\]:(\[\033[01;34m\] \")\\$\[\033[00m\] "
export PATH="${PATH}:${HOME}/bin"
export EDITOR="vim"
export LSCOLORS="gxfxcxdxbxegedabagacad"
# fix https://coderwall.com/p/-k_93g
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment