msaliases/cmder/user_aliases.cmd

97 lines
3.2 KiB
Batchfile
Raw Permalink 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
unalias=alias /d $1
cmderr=cd /d "%CMDER_ROOT%"
home=cd /d %USERPROFILE%
~=cd /d %USERPROFILE%
2021-07-02 09:52:42 -04:00
devr=cd /d "%DEV_PATH%"
ncr=cd /d "%NC_PATH%"
2020-03-29 14:27:08 -04:00
2020-04-02 20:40:46 -04:00
;= rem apps
2021-07-02 09:52:42 -04:00
notes=cd /d "%NC_PATH%\Notes"
2020-04-02 20:40:46 -04:00
2020-03-29 15:00:38 -04:00
;= rem top-level repos
2021-07-02 09:52:42 -04:00
repos=cd /d "%DEV_PATH%\repos"
blogs=cd /d "%DEV_PATH%\repos\blogs"
docs=cd /d "%DEV_PATH%\repos\docs"
sources=cd /d "%DEV_PATH%\repos\sources"
support=cd /d "%DEV_PATH%\repos\support"
workspaces=cd /d "%DEV_PATH%\workspaces"
2020-03-29 14:27:08 -04:00
;= rem Jellyfin Dev
jcu=cd /d "%DEV_PATH%\repos\sources\jellyfin-client-uwp"
jfw=cd /d "%DEV_PATH%\repos\sources\jellyfin-web"
jf=cd /d "%DEV_PATH%\repos\sources\jellyfin"
jfrun=dotnet run --project Jellyfin.Server --webdir "%DEV_PATH%\repos\sources\jellyfin-web\dist"
2020-03-29 15:00:38 -04:00
;= rem support ticket repos
2021-07-02 09:52:42 -04:00
tix-ajax=cd /d "%DEV_PATH%\repos\support\ui-for-aspnet-ajax"
tix-blazor=cd /d "%DEV_PATH%\repos\support\ui-for-blazor"
tix-core=cd /d "%DEV_PATH%\repos\support\ui-for-aspnet-core"
tix-fiddler=cd /d "%DEV_PATH%\repos\support\fiddler"
tix-mvc=cd /d "%DEV_PATH%\repos\support\ui-for-aspnet-mvc"
tix-rprt=cd /d "%DEV_PATH%\repos\support\reporting"
tix-rprt-srvr=cd /d "%DEV_PATH%\repos\support\report-server"
tix-xamarin=cd /d "%DEV_PATH%\repos\support\ui-for-xamarin"
tix-wpf=cd /d "%DEV_PATH%\repos\support\ui-for-wpf"
tix-jquery=cd /d "%DEV_PATH%\repos\support\ui-for-jquery"
2022-02-18 11:47:03 -05:00
tix-winforms=cd /d "%DEV_PATH%\repos\support\ui-for-winforms"
2020-03-29 14:27:08 -04:00
2020-03-29 15:00:38 -04:00
;= rem docs editing
2021-07-02 09:52:42 -04:00
docs-ajax=cd /d "%DEV_PATH%\repos\docs\ajax-docs"
docs-blazor=cd /d "%DEV_PATH%\repos\docs\blazor-docs"
docs-seed=cd /d "%DEV_PATH%\repos\docs\docs-seed"
docs-fiddler-core=cd /d "%DEV_PATH%\repos\docs\fiddler-core-docs"
docs-fiddler=cd /d "%DEV_PATH%\repos\docs\fiddler-docs"
docs-fiddler-everywhere=cd /d "%DEV_PATH%\repos\docs\fiddler-everywhere-docs"
docs-rprt=cd /d "%DEV_PATH%\repos\docs\reporting-docs"
docs-rprt-srvr=cd /d "%DEV_PATH%\repos\docs\report-server-docs"
2020-03-29 14:27:08 -04:00
2020-03-29 15:00:38 -04:00
;= rem dev shortcuts
2022-04-07 09:33:33 -04:00
vs2019=%VS2019% $*
vs2022=%VS2022% $*
2021-07-02 09:52:42 -04:00
prgsb=cd /d "%DEV_PATH%\repos\blogs\prgsb"
prgsb-src=cd /d "%DEV_PATH%\repos\blogs\prgsb-source"
msa=cd /d "%DEV_PATH%\repos\sources\msaliases"
pb=cd /d "%DEV_PATH%\repos\blogs\ericrohler_static"
stpc=cd /d "%DEV_PATH%\repos\sources\SupportTicketProjectCreator"
fp-ajax=cd /d "%DEV_PATH%\repos\sources\FinalProject"
fp-blazor=cd /d "%DEV_PATH%\repos\sources\FinalProject-Blazor"
2022-04-05 10:16:56 -04:00
fec=cd /d "%DEV_PATH%\repos\sources\Aegis\fec"
2022-04-05 13:53:05 -04:00
fec-ui=cd /d "%DEV_PATH%\repos\sources\Aegis\fec-ui"
2022-04-05 10:16:56 -04:00
oslanding=cd /d "%DEV_PATH%\repos\sources\Onside\LandingPage"
osprocanna=cd /d "%DEV_PATH%\repos\sources\Onside\ProCanna"
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
2020-12-23 07:02:04 -05:00
gbl= git branch -l
2020-03-30 19:55:13 -04:00
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