Last active
February 21, 2017 05:47
-
-
Save varHarrie/536388c9e75f7cb8831e8c9baf53ce70 to your computer and use it in GitHub Desktop.
Set aliases in windows (Place all file in c:\bin and run set_cmd_autorun.reg)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls=dir /ONE $* | |
cd=cd /d $* | |
cnpm=npm $* --registry=https://registry.npm.taobao.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cls | |
color 0A | |
doskey /macrofile=c:\bin\aliases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REGEDIT4 | |
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor] | |
"Autorun"="c:\\bin\\cmd_autorun.cmd" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ls=dir /ONE $*
cd=cd /d $*
cnpm=npm $* --registry=https://registry.npm.taobao.org