Done Support an "up" command to go to parent directory and "up3" to go up 3 directories, etc.

Aug 18, 2011
13
0
I currently have this defined as aliases... but i'd like to not have to add it for all of them (Obviously a low priority request, but may be easy to implement):
up=cd..
up2=cd..\..
up3=cd..\..\..
up4=cd..\..\..
upn=...
 
Jun 2, 2008
337
3
Just FYI; Extended Parent Directory Names (see that topic in the help, and the help for CD) eliminates the need for the backslashes and double dots for each directory. cd ... is up 2, cd .... is up 3, etc.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,223
78
Albuquerque, NM
prospero.unm.edu
Just FYI; Extended Parent Directory Names (see that topic in the help, and the help for CD) eliminates the need for the backslashes and double dots for each directory. cd ... is up 2, cd .... is up 3, etc.
The CD is optional too; you can use
Code:
..
to change to the parent directory,
Code:
...
for the grandparent, and so on.

And since version 21, you don't even need a command; Ctrl-Shift-Up will pop you up one level.
 
  • Like
Reactions: TEA-Time
Aug 18, 2011
13
0
The CD is optional too; you can use
Code:
..
to change to the parent directory,
Code:
...
for the grandparent, and so on.

And since version 21, you don't even need a command; Ctrl-Shift-Up will pop you up one level.
Doh! (facepalm)
 
Jun 2, 2008
337
3
The CD is optional too; you can use
Code:
..
to change to the parent directory,
Code:
...
for the grandparent, and so on.

And since version 21, you don't even need a command; Ctrl-Shift-Up will pop you up one level.
Well that's cool. Thanks Charles!