ajeetdsouza / zoxide

A smarter cd command. Supports all major shells.
https://crates.io/crates/zoxide
MIT License
23.08k stars 557 forks source link

Fix issues with PowerShell env variables #911

Closed WiIIiamWei closed 1 month ago

WiIIiamWei commented 1 month ago

Fixes #906.

$dir is expanded using ExpandEnvironmentStrings if there is any environment variables.

Tested on my machine (Windows 11, PowerShell 5.1 build 22621) and it works fine.

ajeetdsouza commented 1 month ago

As mentioned in the issue - this is a CMD.EXE feature, not a PowerShell feature.