All pastes #208403 Raw Edit

Something

public text v1 · immutable
#208403 ·published 2006-10-18 16:17 UTC
rendered paste body
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)
elif [[ -f /etc/DIR_COLORS ]] ; then
	eval $(dircolors -b /etc/DIR_COLORS)
fi

alias ls='ls --color=auto'
alias grep='grep --colour=auto'
alias emerge='sudo schedtool -B -e emerge'
alias startx="schedtool -I -e startx"
alias cpuspeedy="sudo cpuspeedy"
alias revdep-rebuild="sudo schedtool -B -e revdep-rebuild"
alias man="pinfo -m"
alias gedit="gedit $1 &> /dev/null"
alias thunderbird="thunderbird &> /dev/null"
alias firefox="firefox $1 &> /dev/null"
alias acroread="acroread $1 &> /dev/null"

# Change the window title of X terminals 
case ${TERM} in
	xterm*|rxvt*|Eterm|aterm|kterm|gnome)
		PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
		;;
	screen)
		PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
		;;
esac

export PATH=$PATH:/sbin:/usr/sbin

export PS1="\[\033[1;34m\][\[\033[1;37m\]\t\[\033[1;34m\]]\[\033[1;34m\][\[\033[1;37m\]\d\[\033[1;34m\]]\n[\[\033[1;37m\]\u\[\033[1;34m\] - \[\033[1;37m\]\W\[\033[1;34m\]] \[\033[1;0m\]"