Skip to content

Instantly share code, notes, and snippets.

@munro
Created March 15, 2012 17:59
Show Gist options
  • Save munro/2045662 to your computer and use it in GitHub Desktop.
Save munro/2045662 to your computer and use it in GitHub Desktop.
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
if [ -f "$HOME/.localrc" ]; then
. $HOME/.localrc
fi
# User specific aliases and functions
export PATH="$HOME/local/bin:$PATH"
# Only load ZSH if they're not executing a command, there has to be a better way
# to test this! Really, I would like to forward the command to zsh
if [ -n "$LS_COLORS" ]; then
zsh
exit
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment