Re: [dev] Launching new terminals in $PWD

From: <admin_AT_dav1d.de>
Date: Sun, 20 Oct 2013 23:31:57 +0200

Am 2013-10-18 11:14, schrieb Manolo Martínez:
> Hello,
>
> I was trying to create a shortcut to launch new terminals in my
> current
> working directory. I've seen there's a two year-old thread, and a
> patch,
> about this, which probably means that the kind of easy solutions I've
> been trying
> cannot work. Still, I wonder, wouldn't it be possible to use config.h
> to
> bind a key combination to, say, "urxvt -cd $PWD", or "pwd | urxvt",
> or
> "urxvt -cd `pwd`". None of these options work, and I am not sure why
> --
> I guess pipes cannot be used? And env variables are somehow not read?
>
> What am I doing wrong here?
>
> Cheers,
> Manolo

Ever tried to launch that through sh?:

/bin/sh -c "urxvt -cd `pwd`"

- David
Received on Sun Oct 20 2013 - 23:31:57 CEST

This archive was generated by hypermail 2.3.0 : Sun Oct 20 2013 - 23:36:07 CEST