Csanyi Pal <csanyi...@gmail.com>:
> 
>  can one start urxvt so that the prompt shows the desired directory,
>  like: 
> 
>  usern...@system-name:~/desired/directory$
> 
>  from another urxvt?

That's controlled by the PS1 environment variable.  You can search for
where it's set with "grep PS1 ~/.*" then change it there.  I like
this:

   export PS1='($?) $(hostname) ${PWD}_ '

for user and this for root:

   export PS1='($?) $(hostname) [root] ${PWD}_ '

You then need to source the file you changed, then run urxvt.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://blinkynet.net/comp/uip5.html      Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to