-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Add support for 'cd +' #7189
Copy link
Copy link
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management modulecmdlets in the Microsoft.PowerShell.Management module
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management modulecmdlets in the Microsoft.PowerShell.Management module
Now that PR 5051 has implemented issue 2188 (
cd -support), we are ready to start thinking about addingcd +support, i.e. not only can one go back in the location history, one should also be able to go forward as well. The behaviour should behave as in the following example and support a similar history range like thecd -operation, which can go back the last 20 history locationsCurrently a stack is used for the location history of
cd -, this will need to be changed/adapted to allow for this new scenario, it could possibly be something similar to a circular buffer.To be clear, this issue is just to discuss and track this feature as I don't have time to implement it now (but might come back to it in the future), so anyone can pick it up.
Environment data