A while back I wrote about a replacement for the cd
command on powershell that I wrote which provides some fun features such as history tracking, support cd'ing to a folder when a file path is given, etc... It's been a while since I've touched this helpful little tool which sometimes I even forget I wrote it because it's something that's used practically every day and "it just works".
For more information, check out the older posts about it here Slightly modified “CD” Command for Powershell and here: More than slightly modified “CD” command for PowerShell.
It now supports cd ...
Well, today I threw a quick feature into this utility that I've become accustomed to using in zsh on my Mac.
On many *nix command prompts you can type something like cd ....
. This command translates indo cd ..; cd ..; cd ..
(but executed as one command). The first ..
counts as one directory and then each ane every .
after that counts as another directory up the tree.
So now within PowerShell when I cd
down into a deep folder structure, I can now use cd .......
to go back up N
folders.
NOICE!
Happy CD'ing!