Skip to content

Instantly share code, notes, and snippets.

@orlandolopez
orlandolopez / basherror
Created November 23, 2010 20:35
mac bash terminal error
-bash: /etc/bashrc: line 3: syntax error near unexpected token `fi'
-bash: /etc/bashrc: line 3: `fi'
-bash-3.2$
@orlandolopez
orlandolopez / bashrc
Created November 23, 2010 20:34
Mac bashrc file
# System-wide .bashrc file for interactive bash(1) shells.
if [ -z "$PS1" ]; then
fi
PS1='\h:\W \u\$ '
# Make bash check its window size after a process completes
shopt -s checkwinsize
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.