Skip to content

Instantly share code, notes, and snippets.

@davefinster
Created October 17, 2012 00:55
Show Gist options
  • Save davefinster/3903128 to your computer and use it in GitHub Desktop.
Save davefinster/3903128 to your computer and use it in GitHub Desktop.
Profile files post RVM installation
[ -f ~/.profile ] && source ~/.profile
[ -f ~/.bashrc ] && source ~/.bashrc
if [ "$PS1" ]; then
shopt -s checkwinsize cdspell extglob histappend
alias ll='ls -lF'
alias ls='ls --color=auto'
HISTCONTROL=ignoreboth
HISTIGNORE="[bf]g:exit:quit"
PS1="[\u@\h \w]\\$ "
if [ -n "$SSH_CLIENT" ]; then
PROMPT_COMMAND='echo -ne "\033]0;${HOSTNAME%%\.*} \007" && history -a'
fi
fi
case "$TERM" in
screen)
export TERM=xterm-color
;;
screen-256color)
export TERM=xterm-color
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment