making urxvt start in a specific directory

Marc Lehmann schmorp at schmorp.de
Thu Sep 17 21:49:16 CEST 2009


On Thu, Sep 17, 2009 at 04:46:00PM +0200, gibboris at gmail.com wrote:
> I attempted to make urxvt starts in a given directory.
> I can't.
> 
> With xterm, the following works well :
> xterm -e 'cd /tmp && /bin/bash'
> with urxvt it doesn't.

   urxvt -e /bin/sh -c 'cd /tmp && /bin/bash'

> Does someone informed about an alternative solution or workaround,

Yes, everybody who cared to read the documentation for the -e switch.

> I still can't figure why this behaviour happens.

Start learning to read now! You are not a lost case, reading manuals can be
learned. It's not a god given talent.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
      -=====/_/_//_/\_,_/ /_/\_\




More information about the rxvt-unicode mailing list