adding install script

This commit is contained in:
Eric D. Rohler 2020-04-02 20:40:46 -04:00
parent 634770f9fa
commit 814178f7ee
2 changed files with 38 additions and 1 deletions

View File

@ -11,11 +11,14 @@ pwd=cd
clear=cls clear=cls
history=cat -n "%CMDER_ROOT%\config\.history" history=cat -n "%CMDER_ROOT%\config\.history"
unalias=alias /d $1 unalias=alias /d $1
vi=vim $* vi=nvim $*
vim=nvim $*
cmderr=cd /d "%CMDER_ROOT%" cmderr=cd /d "%CMDER_ROOT%"
home=cd /d %USERPROFILE% home=cd /d %USERPROFILE%
~=cd /d %USERPROFILE% ~=cd /d %USERPROFILE%
;= rem apps
;= rem top-level repos ;= rem top-level repos
repos=cd /d "D:\dev\repos" repos=cd /d "D:\dev\repos"
blogging=cd /d "d:\dev\repos\blogging\blogging" blogging=cd /d "d:\dev\repos\blogging\blogging"

34
install.ps1 Normal file
View File

@ -0,0 +1,34 @@
# User Profile
Write-Host "$($env:USERPROFILE)"
# VS Code Directory
Write-Host "$($env:APPDATA)\Code\User"
# Cmder Config Directory
Write-Host "$($env:CMDER_ROOT)\config"
$cmder_user_aliases_cmd_path = "$($env:CMDER_ROOT)\config\user_aliases.cmd"
if (-not (Test-Path -Path $cmder_user_aliases_cmd_path)) {
} else {
Write-Host "Cmder User Aliases Exists"
}
$cmder_user_profile_cmd_path = "$($env:CMDER_ROOT)\config\user_profile.cmd"
if (-not (Test-Path -Path $cmder_user_profile_cmd_path)) {
} else {
Write-Host "Cmder User Profile Exists"
}
$cmder_user_profile_ps_path = "$($env:CMDER_ROOT)\config\user_profile.ps1"
if (-not (Test-Path -Path $cmder_user_profile_ps_path)) {
} else {
Write-Host "Cmder Powershell Profile Exists"
}
$vscode_user_settings_path = "$($env:APPDATA)\Code\User"
if (-not (Test-Path -Path $vscode_user_settings_path)) {
} else {
Write-Host "VS Code User Settings Exists"
}