# System-wide .bashrc file for interactive bash(1) shells. # If not running interactively, don't do anything [ -z "$PS1" ] && return # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize # set variable identifying the chroot you work in if [ -z "$debian_chroot" -a -r /etc/debian_chroot ]; then debian_chroot=$(cat /etc/debian_chroot) fi # set a fancy prompt (overwrite the one in /etc/profile) PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w \$ ' # If this is an xterm set the title to user@host:dir case "$TERM" in xterm*|rxvt*) PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' ;; *) ;; esac # enable bash completion in interactive shells #if [ -f /etc/bash_completion ]; then # . /etc/bash_completion #fi JAVA_HOME=/usr/java/jre1.5.0_01 export JAVA_HOME PATH=$PATH:$JAVA_HOME/bin export PATH