adding install script
This commit is contained in:
parent
634770f9fa
commit
814178f7ee
@ -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
34
install.ps1
Normal 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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user