Original link: https://www.cnblogs.com/zqzjs/archive/2016/12/19/6188605.html
Cmder
Cmder is an enhanced command-line tool that can not only use all the commands under Windows, but also the commands that can be used by Linux, shell commands.
Install package
Installation package Links
After downloading, the direct decompression is ready to use.
Modify the command prompt λ to $
Enter the extracted Cmder directory, enter vendor, open the Init.bat file.
Modify the code for line 15th
@prompt $E[1;32;40m$P$S{git}{hg}$S$_$E[1;30;40m{lamb}$S$E[0m
Switch
@prompt $E[1;32;40m$P$S{git}{hg}$S$_$E[1;30;40m $$ $S$E[0m
Before and after modifications:
Add to environment variable
Cmder.exe the directory that is stored is added to the system environment variable path. Add success enough, you can use Win+r input cmder, you can find Cmder.
Add to right-click menu
Enter the root directory of the Cmder to perform the registration to the right-click menu.
C:\Windows\system32>d:D:\>cd cmderD:\cmder>Cmder.exe /REGISTER ALL
Effect:
Multi-window
Right-cmder Bottom Border bar, select New Console
You can set the position of the newly opened command line in Cmder, where I choose to be right, and the percentage can set the width of the new window.
Effect:
Newly opened Shell window
The steps are the same as above, just choose the shell when choosing.
Add commands such as LL
In Cmder->config->aliases, open aliases.
and will:
l=ls --show-control-chars la=ls -aF --show-control-chars ll=ls -alF --show-control-chars ls=ls --show-control-chars -F
Add to the end of the file to enhance the command and add color sensitivity.
Common shortcut keys
Double tab, for completion
Ctrl+t, creating a new page
Ctrl+w, closing tabs
Ctrl+tab, Toggle tab page
ALT+F4, close all tabs
ctrl+1, switch to the first tab, ctrl+2 the same
ALT + ENTER to switch to full-screen state
"Go" cmder--windows command-line tool