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

Re: start urxvt so that the prompt shows the desired directory



On Sunday 2008 December 21 14:50:45 Csanyi Pal wrote:
> Hi,
>
> can one start urxvt so that the prompt shows the desired directory,
> like:
>
> username@system-name:~/desired/directory$
>
> from another urxvt?
>
> urxvt -e cd /home/username/desired/directory/
>
> doesn't work.

Might try:
( cd /desired/directory && urxvt )

If you need a single command (e.g. for a .desktop file) you might use:
/bin/sh -c 'cd /desired/directory && urxvt'
-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss@iguanasuicide.net                     ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.net/                      \_/     

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: