On Mi, 11 Apr 2012, David Gómez wrote:
> I'll take back my words. It's not confirmed. I've been testing with bash
> and zsh in 3.0.3. The working directory is kept when a new tab is
> opened. There is only one case where it doesn't work, and it's when a
> subshell is executed, the current working directory is changed and a
> new tab is opened. And that is a expected behaviour.
What do you mean with "a subshell is executed"?
Or in other words, how to fix bash so that a new tab keeps the CWD?
Best wishes
Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
VENTNOR (n.) One who, having been visited as a child by a mysterious
gypsy lady, is gifted with the strange power of being able to operate
the air-nozzles above aeroplane seats.
--- Douglas Adams, The Meaning of Liff
Hi David,
On Mi, 11 Apr 2012, David Gómez wrote:
> I'll take back my words. It's not confirmed. I've been testing with bash
> and zsh in 3.0.3. The working directory is kept when a new tab is
> opened. There is only one case where it doesn't work, and it's when a
> subshell is executed, the current working directory is changed and a
> new tab is opened. And that is a expected behaviour.
What do you mean with "a subshell is executed"?
Or in other words, how to fix bash so that a new tab keeps the CWD?
Best wishes
Norbert ------- ------- ------- ------- ------- ------- ------- ------- ------- -- {jaist. ac.jp, logic.at, debian.org} ------- ------- ------- ------- ------- ------- ------- ------- ------- --
-------
Norbert Preining preining@
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------
VENTNOR (n.) One who, having been visited as a child by a mysterious
gypsy lady, is gifted with the strange power of being able to operate
the air-nozzles above aeroplane seats.
--- Douglas Adams, The Meaning of Liff