--- /etc/skel/.bashrc 2006-04-22 00:51:25.000000000 +0200 +++ .bashrc 2006-11-04 13:02:36.000000000 +0100 @@ -6,7 +6,7 @@ [ -z "$PS1" ] && return # don't put duplicate lines in the history. See bash(1) for more options -export HISTCONTROL=ignoredups +#export HISTCONTROL=ignoredups # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. @@ -16,7 +16,7 @@ [ -x /usr/bin/lesspipe ] && eval "$(lesspipe)" # set variable identifying the chroot you work in (used in the prompt below) -if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then +if [ -z "$debian_chroot" -a -r /etc/debian_chroot ]; then debian_chroot=$(cat /etc/debian_chroot) fi @@ -47,9 +47,9 @@ # ~/.bash_aliases, instead of adding them here directly. # See /usr/share/doc/bash-doc/examples in the bash-doc package. -#if [ -f ~/.bash_aliases ]; then -# . ~/.bash_aliases -#fi +if [ -f ~/.bash_aliases ]; then + . ~/.bash_aliases +fi # enable color support of ls and also add handy aliases if [ "$TERM" != "dumb" ]; then @@ -70,3 +70,13 @@ if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi + +# Append entries to the history file for each new shell +shopt -s histappend +# The contents of this variable are executed as a regular Bash command +# just before Bash displays a prompt. This appends the history entries +# for all open shells +PROMPT_COMMAND='history -a' + +# Export the local repository root +export CVSROOT=/home/dpm/cvsrepo