msaliases/cmder/user_aliases.cmd

80 lines
2.3 KiB
Batchfile
Raw Normal View History

;= @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
2020-03-30 19:55:13 -04:00
;= rem general
e.=explorer .
2020-04-12 18:51:00 -04:00
..=cd ..
ls=ls --show-control-chars -F --color $*
pwd=cd
clear=cls
history=cat -n "%CMDER_ROOT%\config\.history"
unalias=alias /d $1
2020-04-02 20:40:46 -04:00
vi=nvim $*
vim=nvim $*
cmderr=cd /d "%CMDER_ROOT%"
home=cd /d %USERPROFILE%
~=cd /d %USERPROFILE%
2020-03-29 14:27:08 -04:00
2020-04-02 20:40:46 -04:00
;= rem apps
2020-08-16 21:41:27 -04:00
notes=cd /d "D:\Nextcloud\Notes"
2020-04-02 20:40:46 -04:00
2020-03-29 15:00:38 -04:00
;= rem top-level repos
repos=cd /d "D:\dev\repos"
2020-11-24 16:06:02 -05:00
blog=cd /d "d:\dev\repos\blogs"
2020-03-29 11:10:42 -04:00
docs=cd /d "D:\dev\repos\docs"
sources=cd /d "d:\dev\repos\sources"
2020-03-29 15:00:38 -04:00
support=cd /d "d:\dev\repos\support"
workspaces=cd /d "d:\dev\workspaces"
2020-03-29 14:27:08 -04:00
2020-03-29 15:00:38 -04:00
;= rem support ticket repos
tix-ajax=cd /d "D:\dev\repos\support\ui-for-aspnet-ajax"
tix-blazor=cd /d "D:\dev\repos\support\ui-for-blazor"
tix-core=cd /d "D:\dev\repos\support\ui-for-aspnet-core"
tix-fiddler=cd /d "D:\dev\repos\support\fiddler"
tix-mvc=cd /d "D:\dev\repos\support\ui-for-aspnet-mvc"
tix-rprt=cd /d "D:\dev\repos\support\reporting"
tix-rprt-srvr=cd /d "D:\dev\repos\support\report-server"
2020-09-30 10:38:21 -04:00
tix-xamarin=cd /d "D:\dev\repos\support\ui-for-xamarin"
2020-03-29 14:27:08 -04:00
2020-03-29 15:00:38 -04:00
;= rem docs editing
2020-03-31 10:26:13 -04:00
docs-ajax=cd /d "D:\dev\repos\docs\ajax-docs"
docs-blazor=cd /d "d:\dev\repos\docs\blazor-docs"
docs-seed=cd /d "D:\dev\repos\docs\docs-seed"
docs-fiddler-core=cd /d "d:\dev\repos\docs\fiddler-core-docs"
docs-fiddler=cd /d "d:\dev\repos\docs\fiddler-docs"
docs-fiddler-everywhere=cd /d "d:\dev\repos\docs\fiddler-everywhere-docs"
docs-rprt=cd /d "D:\dev\repos\docs\reporting-docs"
docs-rprt-srvr=cd /d "D:\dev\repos\docs\report-server-docs"
2020-03-29 14:27:08 -04:00
2020-03-29 15:00:38 -04:00
;= rem dev shortcuts
2020-11-24 16:06:02 -05:00
prgs=cd /d "d:\dev\repos\blogs\prgs"
prgsb-src=cd /d "d:\dev\repos\blogs\prgs-source"
2020-03-29 14:27:08 -04:00
msa=cd /d "d:\dev\repos\sources\msaliases"
2020-11-24 16:06:02 -05:00
pb=cd /d "d:\dev\repos\blogs\ericrohler_static"
2020-07-31 23:47:21 -04:00
stpc=cd /d "d:\dev\repos\sources\SupportTicketProjectCreator"
2020-03-30 19:55:13 -04:00
;= rem git shortcuts
gs=git status
ga=git add
gaa=git add -A
gc=git commit --message $*
gca=git commit --all --message $*
gcam=git commit --amend --message $*
gcamne=git commit --amend --no-edit
gb=git branch
gbd=git branch -d $*
gco=git checkout $*
gcob=git checkout -b $*
gl=git log
gladog=git log --graph --oneline --all --decorate
gd=git diff
gds=git diff --staged
gdt=git difftool
gdts=git difftool --staged
gps=git push
gpl=git pull
gf=git fetch
gfp=git fetch --prune