-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuser-aliases.cmd
22 lines (22 loc) · 1.01 KB
/
user-aliases.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
;= @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 "%CMDER_ROOT%\config\.history"
unalias=alias /d $1
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"
..=cd ..
~=cd %HOMEPATH%
ll=ls -gohlat --show-control-chars -F --color $*
treeall=tree /a /f
scoopif=powershell "Get-Content $* | sls '(.+) \(' |% { $_.matches.groups[1].value } |% {scoop install $_}" rem installs previously exported scoop apps
gpa=%GIT_INSTALL_ROOT%/usr/bin/find . -mindepth 1 -maxdepth 1 -type d -execdir test -d '{}/.git' ; -exec echo -e "\n{}" ; -exec git --git-dir="{}"/.git --work-tree="{}" pull ;
gsa=%GIT_INSTALL_ROOT%/usr/bin/find . -mindepth 1 -maxdepth 1 -type d -execdir test -d '{}/.git' ; -exec echo -e "\n{}" ; -exec git --git-dir="{}"/.git --work-tree="{}" status ;