Cmder-Alias
文章目录
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
;= @echo off
;= rem Call DOSKEY and use this file as the macrofile
;= %SystemRoot%\system32\doskey /listsize=1000 /macrofile=%0%
;= rem In batch mode, jump to the end of the file
;= goto:eof
;= Add aliases below here
e.=explorer .
gl=git log --oneline --all --graph --decorate $*
ls=ls --show-control-chars -F --color $*
pwd=cd
clear=cls
history=cat -n "%CMDER_ROOT%\config\.history"
unalias=alias /d $1
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"
aliasedit=notepad C:\InstalledSoftware\cmder\config\user_aliases.cmd

;Git Alias
merge=git merge $*
pull=git pull $*
checkout=git checkout $*
stash=git stash $*
stasha=git stash apply $*
stashp=git stash pop $*
log=git log
status=git status
st=git status
branch=git branch
clone=git clone
push=git push

;Npm Alias
gg=npm run gql-gen
dev=npm run dev
start=npm start