Please bear with us as we work to restore functionality to dotfiles.org.
Basically the Gentoo default baschrc, but with ll aliased to ls -l. Taken from Red Hat based systems. Also, grep is aliased to use color, which I find pretty useful.
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
# Enable colors for ls, etc. Prefer ~/.dir_colors #64489
if [[ -f ~/.dir_colors ]]; then
eval `dircolors -b ~/.dir_colors`
else
eval `dircolors -b /etc/DIR_COLORS`
fi
alias ls="ls --color=auto"
alias grep="grep --color=auto"
alias ll='ls -l --color=tty'
# Change the window title of X terminals
case $TERM in
xterm*|rxvt*|Eterm)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac