4 ms·
‘dirs -v’ shows an enumerated list of directories. If I follow that up with pushd +11 I will be taken to the 11th path listed in the prior dirs command. As far
by 0x445442 7y ago
‘dirs -v’ shows an enumerated list of directories. If I follow that up with pushd +11 I will be taken to the 11th path listed in the prior dirs command. As far as I know this isn’t implemented out of the box in PS
- jen20 7y agoAn addition to `{Push,Pop}-Location` - `Get-Location -Stack` will show the current directory stack. I don't know offhand of a way to get the equivalent of `pushd +11` though.
- nickcox 7y agoNot out of the box but I wrote a module[0] that gives you `cd+ 11` (and `dirs -v`). [0] https://github.com/nickcox/cd-extras#navigate-even-faster https://github.com/nickcox/cd-extras#navigate-even-faster