[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pbs with prompt

From: Frédéric Petit
Subject: pbs with prompt
Date: Mon, 22 Mar 1999 19:19:54 +0100 (CET)

Hi all !

Here the pb I have with octave 2.0.13, under Linux 2.0.36:

My home dir is /mnt/hanoi/disk1/mo/thesards/petit, which is linked to
/home/mo/thesards/petit (NFS mounted).

Under octave, with

        PS1 = "address@hidden:\\w/{\\#}/> ",

I have the prompt

        address@hidden:/mnt/hanoi/disk1/mo/thesards/petit/{1}/> blablabla

which is very long (then when I go to my subdirs :-(...)

How can I setup the prompt to obtain, as under my shell :

        address@hidden:~/{1}/> bliblibli

when I'm at home ??

ThanX in advance for any help.
Frédéric PETIT : address@hidden
Laboratoire Systèmes de Communication
Université de Marne La Vallée 
«Pourquoi faire simple quand on peut faire compliqué ?»

reply via email to

[Prev in Thread] Current Thread [Next in Thread]