mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
'cd +' adds the ability to revert 'cd -' by having another bounded stack with the same limit for 'redo' actions. Behaviour is similar to back/forward navigation in explorer.exe When the location is set to a path and the redo stack is non-empty then the redo stack gets flushed. When cd + happens, then the redo stack is pushed to as well for a more intuitive way of navigating backwards and forwards. All the work is done of course on the Set-location cmdlet, which is aliased to cd on all platforms.
Testing
The tests are organized by testing language. Thus Pester tests, which are written in the PowerShell language, are in ./powershell and xUnit tests, written in C#, are in ./csharp. The sanity tests for the Full .NET build of PowerShell are in ./fullclr, and the third-party shebang test is in ./shebang.