update install and aliases

This commit is contained in:
Eric D. Rohler 2021-07-02 09:52:42 -04:00
parent 0fa87f9497
commit 0a9190489f
2 changed files with 39 additions and 33 deletions

View File

@ -14,48 +14,50 @@ unalias=alias /d $1
cmderr=cd /d "%CMDER_ROOT%"
home=cd /d %USERPROFILE%
~=cd /d %USERPROFILE%
devr=cd /d "%DEV_PATH%"
ncr=cd /d "%NC_PATH%"
;= rem apps
notes=cd /d "D:\Nextcloud\Notes"
notes=cd /d "%NC_PATH%\Notes"
;= rem top-level repos
repos=cd /d "D:\dev\repos"
blogs=cd /d "d:\dev\repos\blogs"
docs=cd /d "D:\dev\repos\docs"
sources=cd /d "d:\dev\repos\sources"
support=cd /d "d:\dev\repos\support"
workspaces=cd /d "d:\dev\workspaces"
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"
;= 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"
tix-xamarin=cd /d "D:\dev\repos\support\ui-for-xamarin"
tix-wpf=cd /d "D:\dev\repos\support\ui-for-wpf"
tix-jquery=cd /d "D:\dev\repos\support\ui-for-jquery"
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"
;= rem docs editing
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"
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"
;= rem dev shortcuts
prgsb=cd /d "d:\dev\repos\blogs\prgsb"
prgsb-src=cd /d "D:\dev\repos\blogs\prgsb-source"
msa=cd /d "d:\dev\repos\sources\msaliases"
pb=cd /d "d:\dev\repos\blogs\ericrohler_static"
stpc=cd /d "d:\dev\repos\sources\SupportTicketProjectCreator"
fp-ajax=cd /d "D:\dev\repos\sources\FinalProject"
fp-blazor=cd /d "D:\dev\repos\sources\FinalProject-Blazor"
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"
;= rem git shortcuts
gs=git status

View File

@ -23,10 +23,14 @@ reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUn
## CMDER_ROOT
[System.Environment]::SetEnvironmentVariable('CMDER_ROOT',"$($env:USERPROFILE)\Cmder", [System.EnvironmentVariableTarget]::Machine)
# DEV_ROOT --Use this per-machine, i.e. laptops sometimes only have a single disk and desktops have multiple disks
# DEV_PATH --Use this per-machine, i.e. laptops sometimes only have a single disk and desktops have multiple disks
$dev_path = Read-Host -Prompt 'Input the Repos Path:'
[System.Environment]::SetEnvironmentVariable('DEV_PATH', $dev_path, [System.EnvironmentVariableTarget]::Machine)
# NC_PATH --Use this per-machine
$nc_path = Read-Host -Prompt 'Input the Nextcloud Path:'
[System.Environment]::SetEnvironmentVariable('NC_PATH', $nc_path, [System.EnvironmentVariableTarget]::Machine)
# User Profile
Write-Host "User Profile Directory: $($env:USERPROFILE)"