# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files for examples
MAILPATH='/var/mail/michoux?"You have mail":~/Mail/celine?"$_ has mail!"'
MAILCHECK=10
# . ~/ .alias
# If running interactively, then:
PATH=~/bin:$PATH
# export LC_ALL=fr_FR@nospam.ISO-8859-15
# export LC_CTYPE=fr_FR
# export LC_ALL=fr_FR
export LANG=fr_FR@nospam
# export LANGUAGE=fr_FR
export TERM=linux
export EDITOR=vim
export PAGER=less
export HISTSIZE=3000
export CVS_RSH=ssh
#export CVSROOT=:ext:zetux@nospam.gnu.org:/cvsroot/zphpim
export VIMRUNTIME="/usr/share/vim/vim61/"
export COLUMNS
stty -ixon
if [ -f "/home/$USER/.alias" ]
then
. ~/.alias
fi
if [ "$PS1" ]; then
# enable color support of ls and also add handy aliases
# eval `dircolors`
# set a fancy prompt
# PS1='\033[0;`$HOME/bin/random 30 37`m\d - \t
# \u@\h:\w\ $\033[m'
# PS1='\033[0;`$HOME/bin/random 41 46`m\d - \t -> `mail?;chmod 666 ~/Mail/.logfile`
# export PS1='\033[0;`$HOME/bin/random 31 36`m._.·¯·._.·¯·-> \033[0;`$HOME/bin/random 31 36`m\d\033[0;37m - \033[0;`$HOME/bin/random 31 36`m\t\033[0;37m <-._.·¯·._.·¯
# \033[0;`$HOME/bin/random 31 36`m\u\033[0;37m@\033[1;`$HOME/bin/random 31 36`m\h\033[0;37m:\033[0;`$HOME/bin/random 31 36`m\w\033[0;37m| '
# export PS1='._.·¯·._.·¯·-> \033[0;`$HOME/bin/random 31 36`m\d\033[0;37m - \033[0;`$HOME/bin/random 31 36`m\t\033[0;37m <-._.·¯·._.·¯\n\033[0;`$HOME/bin/random 31 36`m\u\033[0;37m@\033[1;`$HOME/bin/random 31 36`m\h\033[0;37m:\033[0;`$HOME/bin/random 31 36`m`if [ \`pwd |grep public_html\` ]; then echo -n " http://\h/~\u";echo -n "\w"|sed "s/.*public_html//";else echo -n "\w"; fi`\033[0;37m| '
BIGPROMPT='._.·¯·._.·¯·-> \033[0;`$HOME/bin/random 31 36`m\d\033[0;37m - \033[0;`$HOME/bin/random 31 36`m\t\033[0;37m <-._.·¯·._.·¯\n\033[0;`$HOME/bin/random 31 36`m\u\033[0;37m@\033[0;`$HOME/bin/random 31 36`m\h\033[0;37m:\033[0;`$HOME/bin/random 31 36`m`if [ "\`pwd |grep public_html\`" ]; then echo -n " http://michoux.born2frag.org";echo -n "\w"|sed "s/.*public_html//";else echo -n "\w"; fi`\033[0;37m| '
# BIGPROMPT='._.·¯·._.·¯·-> \d - \t <-._.·¯·._.·¯\n\u@\h`if [ "\`pwd |grep public_html\`" ]; then echo -n " http://michoux.born2frag.org";echo -n "\w"|sed "s/.*public_html//";else echo -n "\w"; fi` | '
LITTLEPROMPT='\d - \t
\u@\h:\w/ $'
if [ "$COLUMNS" ]
then
if [ $COLUMNS -lt "50" ]
then
export PS1=$LITTLEPROMPT
else
if [ -z "`set |grep screen`" ]
then
export PS1=$LITTLEPROMPT
else
export PS1=$BIGPROMPT
fi
fi
else
export PS1=$BIGPROMPT
fi
fi