powershell-profile
powershell-profile copied to clipboard
Legacy support for zoxide
Problem
As some of us have noticed, after recent changes (pull request https://github.com/ChrisTitusTech/powershell-profile/pull/70), z
and zi
commands are no longer supported.
I described the issue more extensively in https://github.com/ChrisTitusTech/powershell-profile/issues/86#issuecomment-2186920624
In short:
- use
cd
instead ofz
- use
cdi
instead ofzi
Suggestion
Just to be clear. If you want to bring back the old functionality of z
and zi
, you can do so in your profile.ps1
file. (Look https://github.com/ChrisTitusTech/powershell-profile/issues/86#issuecomment-2186920624)
This change could be confusing for recurring users and for those that have become very used to the z
, zi
commands.
Maybe there is nothing wrong with leaving the support for z
and zi
natively, alongside the cd
, cdi
commands
I would actually think that was the intention of https://github.com/ChrisTitusTech/powershell-profile/pull/70 (@TakenMC what do you think?)
Why should one even start using cd
over z
?
Even though it's longer, it is more versitile and supported everywhere. It requires less getting used to if one regularly uses VMs or SSH to log remotely. That´s why it may be better for some users, and thus both cd
and z
should be supported.