Skip to content

Instantly share code, notes, and snippets.

@bungle
Created January 24, 2015 21:49
Show Gist options
  • Save bungle/4a219a783d1dfe7d1aa8 to your computer and use it in GitHub Desktop.
Save bungle/4a219a783d1dfe7d1aa8 to your computer and use it in GitHub Desktop.
# Paths
export PATH="~/.cabal/bin:/usr/local/bin:/usr/local/sbin:/usr/local/opt/coreutils/libexec/gnubin:$PATH"
export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
# Colors
export CLICOLOR=1
export LSCOLORS=Exfxcxdxbxegedabagacad
if [ -x /usr/local/opt/coreutils/libexec/gnubin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
# Aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# Prompt
export PS1='\[\033[0;34m\]$(__git_ps1 "(\[\033[01;34m\]%s\[\033[0;34m\]) ")\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
# Completion
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment