Hi,

I have added the following lines in my .bashrc and now the command line gets
confused and produces garbage:

if [ "x$DISPLAY" != "x" ]; then
        PS1='[\u@\h]\$ \033];`dirs`\007';
        function cd(){
                pushd $1;
                PS1='[\u@\h]\$ \033];`mydirs`\007'
        }
fi

This happens when I use the up-arrow to bring back long commands:

Cheers
-- 
Dr. Nikolaos A. Margaritis
Department of Physical Chemistry
National Research Centre for Physical Sciences "Demokritos"
Ag. Paraskevi, Athens 15310, Greece.
Tel: +30(0)1 650 3960
URL: http://athos.chem.demokritos.gr/~nmargar

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to