badmotorfinger / z

Save time typing out directory paths in PowerShell by jumping around instead.
The Unlicense
430 stars 33 forks source link

Configurable Push-Location by default #63

Closed gerardog closed 1 year ago

gerardog commented 1 year ago

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

Implements #62

mikesigs commented 1 year ago

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.