This change makes z use Push-Location (aka pushd) instead of Set-Location (aka cd). Therefore the user can use Pop-Location (popd) to go to the previous directory.
This behaviour can be reverted by setting $Z_UsePushLocation = $false
Thanks for submitting this PR! And for responding to review feedback so quickly. @badmotorfinger not sure what the approve/merge/release plan is for this project.
This change makes
z
usePush-Location
(akapushd
) instead ofSet-Location
(akacd
). Therefore the user can usePop-Location
(popd
) to go to the previous directory.This behaviour can be reverted by setting
$Z_UsePushLocation = $false
Implements #62