Open korneltlaczala opened 1 week ago
Why not make a Pull Request to bring back the old alias for the prompt and set new aliases?
Invoke-Expression (& { (zoxide init powershell | Out-String) })
Remove-Alias -Name "cd"
New-Alias -Name "cd" z
New-Alias -Name "cdi" zi
Problem
As some of us have noticed, after recent changes (pull request https://github.com/ChrisTitusTech/powershell-profile/pull/70),
z
andzi
commands are no longer supported. I described the issue more extensively in https://github.com/ChrisTitusTech/powershell-profile/issues/86#issuecomment-2186920624In short:
cd
instead ofz
cdi
instead ofzi
Suggestion
Just to be clear. If you want to bring back the old functionality of
z
andzi
, you can do so in yourprofile.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
andzi
natively, alongside thecd
,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
overz
?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
andz
should be supported.