Created
October 17, 2012 00:55
-
-
Save davefinster/3903128 to your computer and use it in GitHub Desktop.
Profile files post RVM installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ -f ~/.profile ] && source ~/.profile | |
[ -f ~/.bashrc ] && source ~/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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