cyko /.bashrc

# .BASHRC - Saurav Muralidharan
# Last update - June 16, 2010

export HISTCONTROL=ignoredups
export HISTCONTROL=ignoreboth
export LANG=en_US.UTF-8

# Make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"

bind '"\e[A"':history-search-backward
bind '"\e[B"':history-search-forward

if [ $TERM != "dumb" ]; then
        eval "`dircolors -b`"
        alias ls='ls -F --color=auto'
fi

alias x='exit'
alias f='fg'
alias ll='ls -aFls'
alias la='ls -all'
alias ..='cd ..'
alias ...='cd ../..'
alias sagi='sudo aptitute install'
alias sagr='sudo aptitute remove'

alias fkeys='vim ~/.fluxbox/keys'
alias fstartup='vim ~/.fluxbox/startup'

export HISTFILESIZE=5000

PS1='\[\033[0;36m\]\033(0l\033(B\[\033[0m\][\[\033[1;34m\]\u\[\033[0m\]]\[\033[0;36m\]\033(0q\033(B\[\033[0m\][\[\033[1;32m\]@\h\[\033[0m\]]\[\033[0;36m\]\033(0q\033(B\[\033[0m\][\[\033[0;37m\]\T\[\033[0m\]]\[\033[0;36m\]\033(0q\033(B\033(0q\033(B\033(0q\033(B\033(0q\033(B\033(0q\033(B\033(0q\033(B\033(0q\033(B\033(0q\033(B\[\033[0m\][\[\033[1;32m\]\w\[\033[0m\]]\n\[\033[0;36m\]\033(0m\033(B\[\033[0m\]>'

# function prompt
# {
# 	local WHITE="\[\033[01;37m\]"
# 	local GREEN="\[\033[00;32m\]"
# 	local CYAN="\[\033[00;36m\]"
# 	local GRAY="\[\033[00m\]"
# 	local BLUE="\[\033[00;34m\]"
# 
# 	export PS1="${GREEN}\u${CYAN}@${BLUE}\h${CYAN}:\w${GRAY} :: "
# }
# prompt

# Old:
# PS1="\[\033[1;30m\][\[\033[1;34m\]\u\[\033[1;30m\]"
# PS1="$PS1@\[\033[0;33m\]\h\[\033[1;30m\]]\[\033[0;37m\]"
# PS1="$PS1\w\[\033[1;30m\]>\[\033[0m\]"