Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
inherit OLDPWD from environment variable
- X-seq: zsh-workers 52992
- From: Franklin Yu <franklinyu@xxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: inherit OLDPWD from environment variable
- Date: Wed, 17 Jul 2024 07:59:05 +0000
- Accept-language: en-GB, zh-TW, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9VlyColPge9TkQVx3ohDfrwCdv0fqn8BaeGgkllBVyo=; b=u0eJUdbPXhSnklCq9OHLNe4MmOJD7xmd9AKX8yKTLzzKcIZQPMGdoZ46fBe7EMmdX2P9yPsd4RmIhr89PR3/mMHJp8c15KMW1lxrV9kIZpsmvKDGw77bDYJF/uJfpaC94VUITPf+klkkdqE+ceZHylJUgFSYG6FgPF4MHJFC4HdJ7B24ij0z8p4Nx9vKciouX1tAc0S7WS7daHRgYIOuEJjCAqfTyNk1V/QjLYVrsTdGY/g2zyOH+HXciRgqN7/s00p/c1YwWs7K5Rs1iT+LtvOTLFGgW4oq6gGCDL/47XXWBIC+Ou6nwAEC6ZLiYXjSdODfTxRlbb1g2E4WIChEAQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XLQdPW27SAFpjJ3RZ9h8P0TmA94k0pef/FkZ13oqfSUdN9ndtM8760y6dyE71cgKcx8Mm+7f9x45QfanhmX52CgdE4GVnOCKlWMx6QbRaPurG9OZWLE02J629yHaIN/NUZIVyJn65zLZKXVFskv+mXKuKw7G2GHk4K1DZ3twuSQEb9+j2ALEEvlAliLLtlVRUEYlhMNa81ryfIb6WAp2td8mpHYfARnbETxbnZilEhcp85XZjGpxOmkM1Df8zt+0+VvGp1EuNnkh2Jn9hjfRAeWmJyUuTROAoEObVvWxSB6pL8cxBCzrQEPlNce2fFmKLlZPBrpxxGGQ4I4cBuCQ9g==
- Archived-at: <https://zsh.org/workers/52992>
- List-id: <zsh-workers.zsh.org>
- Msip_labels:
- Thread-index: AQHa2BV7WW6yZovHvkWqrAUzH9H/Og==
- Thread-topic: inherit OLDPWD from environment variable
Hi folks, this could be either a bug report or feature request.
When I start Zsh with $OLDPWD set to a path different from $PWD, Zsh overwrites
$OLDPWD with $PWD. Is this expected, or is it a side effect of making sure
$OLDPWD is non-empty?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author