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

Aug 18, 2011
9
0
#1
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
300
1
#2
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
3,609
46
Albuquerque, NM
prospero.unm.edu
#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.
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.
 
Likes: TEA-Time