From ed35b884db1470fda4891d2c479b766590bc859d Mon Sep 17 00:00:00 2001 From: mataha Date: Wed, 7 Jun 2023 02:36:42 +0200 Subject: [PATCH] Make sure `OLDPWD` is not set --- templates/cmd.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cmd.txt b/templates/cmd.txt index b60d189..0256e8f 100644 --- a/templates/cmd.txt +++ b/templates/cmd.txt @@ -140,7 +140,7 @@ set __zoxide_z_prefix={{cmd}} {%- endmatch %} -@endlocal +@endlocal & set OLDPWD= {{ section }} @rem To initialize zoxide, add this to your configuration or AutoRun command: