Skip to content

Instantly share code, notes, and snippets.

@Superbil
Last active December 16, 2015 01:09
Show Gist options
  • Save Superbil/5352976 to your computer and use it in GitHub Desktop.
Save Superbil/5352976 to your computer and use it in GitHub Desktop.
my bashrc
# System-wide .bashrc file for interactive bash(1) shells.
if [ -z "$PS1" ]; then
return
fi
# yummy !
PS1='\h:\W🍔 \u\$ '
# Make bash check its window size after a process completes
shopt -s checkwinsize
# homebrew setup
path=(/usr/local/sbin /usr/local/bin $path)
if [[ -x $(which brew) ]]; then
manpath=(/usr/share/man /usr/local/share/man $manpath)
# Set Python path on brew
if [[ -x $(brew --prefix)/share/python ]]; then
path=($(brew --prefix)/share/python $path)
fi
# Set brew-pip path
export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages
fi
# setup color
# http://apple.stackexchange.com/questions/33677/how-can-i-configure-mac-terminal-to-have-color-ls-output
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
alias ls='ls -G'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment