Skip to content

Instantly share code, notes, and snippets.

@benolee
Created July 20, 2011 20:17
Show Gist options
  • Save benolee/1095817 to your computer and use it in GitHub Desktop.
Save benolee/1095817 to your computer and use it in GitHub Desktop.
if [[ -n "$PS1" ]]; then
HISTCONTROL=ignoredups:ignorespace
HISTSIZE=1000
HISTFILESIZE=2000
shopt -s histappend
shopt -s checkwinsize
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
PS1="\[\e[38;5;96m\]\w \$(rvm current)\n\[\e[0;32m\]\$\[\e[0m\] "
fi
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
[[ -r "$rvm_path/scripts/completion" ]] && source "$rvm_path/scripts/completion"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment