Re: [dev][dwm] Launching new terminals in $PWD

From: Raphaël Proust <>
Date: Fri, 18 Oct 2013 11:35:47 +0100

On Fri, Oct 18, 2013 at 11:28 AM, Manolo Martínez
<> wrote:
> On 10/18/13 at 06:12pm, Chris Down wrote:
>> On 2013-10-18 12:03, Manolo Martínez wrote:
>> Environments only propagate to children, not their parents. You'll need to get
>> the pwd of the currently focussed window if you want to do that.
> You meant "the pwd of the children of the currently focused window",
> right? I've just seen that the pwd of urxvt is always my home directory,
> even if the pwd of the shell process running in it is not. This is all
> pretty arcane to me.

AFAIU: if you `cd` in urxvt, the pwd of the urxvt process will change.
If you `vim` and then `:cd` then pwd of the urxvt process will not
change (i.e. the parent process (urxvt) keeps its pwd, while the child
process (vim) will have a new pwd).

Raphaël Proust
Received on Fri Oct 18 2013 - 12:35:47 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 18 2013 - 12:48:06 CEST