mirror of
https://github.com/cmderdev/cmder.git
synced 2025-09-17 19:53:12 +08:00
Enhance the cd command in cmd
Add some new features to the cd command: * `cd`: go to %HOME% or %USERPROFILE% * `cd -`: go to previous directory * `h`: show 10 lines of history * `cd [0-9]`: go to the history lines passed in parameter * `p`: pop the last line in the history, and go there (sort of undo cd) Also, no need to pass the `/d` parameter anymore, cd will change the drive automatically.
This commit is contained in:
@ -1,7 +1,10 @@
|
||||
e.=explorer .
|
||||
gl=git log --oneline --all --graph --decorate $*
|
||||
ls=ls --color $*
|
||||
pwd=cd
|
||||
pwd=chdir
|
||||
clear=cls
|
||||
history=cat %CMDER_ROOT%\config\.history
|
||||
unalias=alias /d $1
|
||||
cd=cdplus.bat $*
|
||||
h=cdplus /h $1
|
||||
p=cdplus /p
|
||||
|
Reference in New Issue
Block a user