All pastes #1053301 Raw Edit

Something

public text v1 · immutable
#1053301 ·published 2008-06-23 14:13 UTC
rendered paste body
shopt -s cmdhist
shopt -s cdspell
shopt -s checkwinsize

export PATH=$PATH
export XAUTHORITY=$HOME/.Xauthority
export PAGER="most"
export EDITOR="le"
export INPUTRC=/etc/inputrc
export CFLAGS="-O2 -march=pentiumpro -mtune=pentium4 -mmmx -msse -msse2 -pipe"
export CXXFLAGS=$CFLAGS

google ()
{
    links http://google.com/search?q=$(echo $@ | sed s/\ /+/g)
}

alias irc='ssh irc@falcon'
alias hgrep='history | grep $@ | sed s/\ \ .*\ \ //'
alias tree='tree -d'
alias pacman='sudo pacman-color'
alias yaourt='EDITOR=cat sudo yaourt'
alias ls='ls --color=auto -n -h -L'
alias xterm='xterm -fg white -bg black'
alias x='exit'
alias length='php -r "print strlen(implode(\" \", $argv);"'
alias pwgen='pwgen -0 -A -B -c 7'
alias optipng='time optipng'
alias qemu='qemu --kernel-kqemu'
alias scr='file=~/screenshots/`mcookie`.png; scrot $file; (kolourpaint $file &)'
alias make='time make'
alias w0='watch --interval 0'
alias rm='rm -i'
alias mv='mv -i'
alias cp='cp -i'
alias cool='xcompmgr -cCfF -r7 -o.65 -l-10 -t-8 -D7'
alias vl1='vncviewer localhost:1 -passwd ~/.vnc/passwd'
#alias bzip2='/bin/bzip2 -k ${*};'
alias compress='/bin/compress -k ${*};'
alias asdf='setxkbmap dvorak'
alias aoeu='setxkbmap en_US'
alias 80x50='setfont Cyr_a8x8'
alias 80x25='setfont /home/dav7/consolefont'

. /etc/bashrc

eval `dircolors -b ~/.dircolors`

if [ "$TERM" = "xterm" -o "$TERM" = "xterm-color" -o "$TERM" = "rxvt" -o "$TERM" = "rxvt-unicode" -o "$TERM" = "xterm-xfree86" -o "$TERM" = "screen" ]; then
	export PS1='\[\e[32m\]-\[\e[32;1m\]> \[\e[0m\]'
	export PROMPT_COMMAND='echo -ne "\033]0;${PWD/$HOME/home}\007"'
else
	export PS1='\[\e[36m\]${PWD/$HOME/home} \[\e[32m\]-\[\e[32;1m\]>\[\e[0m\] '
fi

# Color codes
BLACK="\[\e[0;30m\]"
DGRAY="\[\e[1;30m\]"
BLUE="\[\e[0;34m\]"
LTBLUE="\[\e[1;34m\]"
GREEN="\[\e[0;32m\]"
LTGREEN="\[\e[1;32m\]"
CYAN="\[\e[0;36m\]"
LTCYAN="\[\e[1;36m\]"
RED="\[\e[0;31m\]"
LTRED="\[\e[1;31m\]"
PURPLE="\[\e[0;35m\]"
LTPURPLE="\[\e[1;35m\]"
BROWN="\[\e[0;33m\]"
YELLOW="\[\e[1;33m\]"
LTGRAY="\[\e[0;37m\]"
WHITE="\[\e[1;37m\]"
GREEN="\[\e[0;32m\]"