Guilty Seeking Profile Settings

Some times your boss ask for unuseful tasks and you have to do it.

That day the priority was isolate profile history files in order to waste time looking other guys' commands. And this was the .profile file I created for:

set -o vi
#JBOSS_ENV
EAP_HOME=$HOME/jbossEAP62
EAP_PATH=$EAP_HOME/bin
HISTSIZE=1000
LOOSER=$(who am i| awk '{print$5}' | sed -e 's/(//' | sed -e's/)//')
HISTFILE=$HOME/.histfiles/$LOOSER
echo "login $(date +%H%M%d%m%y) " >> $HISTFILE
export EDITOR=vi
export HOSTNAME=`hostname`
export PS1='#$HOSTNAME($PWD)>'
#export PS1='# '
export TERM=vt100
alias ll='ls -l'
alias bdf='df -k | more'
alias top='prstat'
JAVA_HOME=/jboss/jdk
JAVA_PATH=$JAVA_HOME/bin
export DISPLAY=$LOOSER:0.0
export JAVA_HOME
export PATH=$JAVA_PATH:$EAP_PATH:$PATH
export HISTFILE EAP_HOME EAP_PATH LOOSER
~