|
From: Petr M. <mi...@ph...> - 2009-02-04 09:06:21
|
> > > Would an automatic variable GPVAL_PWD be the only chance for a portable > > > solution? > > > > I have added it. > > 2009-02-03 Petr Mikulik <mi...@ph...> > > * src/eval.c (update_gpval_variables) src/command.c (changedir_command) > New automatic variable GPVAL_PWD for current working directory. > ^^^ ^ ^ ^ > > Wouldn't that better be GPVAL_cwd or GPVAL_CWD? I hesitated as well, but then I tried bash: set | grep -i pwd where I can see variables PWD OLDPWD MC_PWD MC_PWD_FILE and thus I have decided for GPVAL_PWD as well. --- PM |