vezi ca ai variabila deja facuta - $PWD pe care poti sa o bagi in PS1.

----- Original Message -----
From: "Radu Popa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 3:01 PM
Subject: [rlug] Re: set prompt [newbie]


>
> exact asa am gindit si eu... culmea e ca la alti colegi functioneaza;
> multam fain oricum
>
> -----Original Message-----
> From: Viorel Anghel [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 27, 2001 1:48 PM
> To: [EMAIL PROTECTED]
> Subject: [rlug] Re: set prompt [newbie]
>
>
>
> On Fri, Jul 27, 2001 at 02:37:57PM +0200, Radu Popa wrote:
> >
> > bine, bine... de man am auzit si eu da' de ce nu merge pwd?
> > scuze pt insistenta
>
> presupun ca pwd-ul se executa o singura data, cind initializezi variabila
> prompt:
> $ cd /tmp
> $ set prompt="`pwd`>"
> /tmp>                   # promptul este /tmp>
> /tmp>cd /
> /tmp>                   # si ramine /tmp>
>
>
> >
> > -----Original Message-----
> > From: Gabriel Vlasiu [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, July 27, 2001 12:51 PM
> > To: [EMAIL PROTECTED]
> > Subject: [rlug] Re: set prompt [newbie]
> >
> >
> >
> > On Fri, 27 Jul 2001, Radu Popa wrote:
> >
> > > incerc sa schimb promptul pentru a afisa calea cu set prompt="`pwd`>"
in
> > > .cshrc si nu se intimpla nimic; pwd functioneaza OK din shell. Any
> > > sugestions?
> > set prompt="%m:%U\[%T\]%u(%l)\[%?\]%B%~> %b"
> >
> > %~ este ceea ce te intereseaza pe tine
> >
> > Gabriel Vlasiu <[EMAIL PROTECTED]>
> > System/Network Administrator
> >
> > Automation and Industrial Informatics Dept.
> > "POLITEHNICA" University of Timisoara
> > Vasile Parvan 2, 1900, Timisoara, Romania
> > Telephone: +40-56-204333 ext. 708, 704
> > http://www.aut.utt.ro/~gabi/
> >
> >
> > ---
> > Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> > unsubscribe from this list.
> > ---
> > Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> > unsubscribe from this list.
>
> --
>         ___
>        <o-o>    Viorel ANGHEL <vang @ lug.ro>
>        [`-']
>        -"-"-    In Linux We Trust.
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui