Update Install #1

Merged
edrohler merged 2 commits from update-install-script into master 2021-06-20 09:54:25 -04:00
6 changed files with 48 additions and 19 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<key name="Software"> <key name="Software">
<key name="ConEmu"> <key name="ConEmu">
<key name=".Vanilla" modified="2021-06-18 21:28:44" build="210304"> <key name=".Vanilla" modified="2021-06-20 09:49:45" build="210304">
<value name="ColorTable00" type="dword" data="001e1d1b"/> <value name="ColorTable00" type="dword" data="001e1d1b"/>
<value name="ColorTable01" type="dword" data="00d28b26"/> <value name="ColorTable01" type="dword" data="00d28b26"/>
<value name="ColorTable02" type="dword" data="0014b482"/> <value name="ColorTable02" type="dword" data="0014b482"/>
@ -124,11 +124,11 @@
<value name="ColorKeyValue" type="dword" data="00010101"/> <value name="ColorKeyValue" type="dword" data="00010101"/>
<value name="UseCurrentSizePos" type="hex" data="01"/> <value name="UseCurrentSizePos" type="hex" data="01"/>
<value name="WindowMode" type="dword" data="0000051f"/> <value name="WindowMode" type="dword" data="0000051f"/>
<value name="ConWnd Width" type="dword" data="00000099"/> <value name="ConWnd Width" type="dword" data="0000009c"/>
<value name="ConWnd Height" type="dword" data="00000055"/> <value name="ConWnd Height" type="dword" data="00000056"/>
<value name="Cascaded" type="hex" data="01"/> <value name="Cascaded" type="hex" data="01"/>
<value name="ConWnd X" type="long" data="2316"/> <value name="ConWnd X" type="long" data="1919"/>
<value name="ConWnd Y" type="long" data="190"/> <value name="ConWnd Y" type="long" data="-1"/>
<value name="16bit Height" type="ulong" data="0"/> <value name="16bit Height" type="ulong" data="0"/>
<value name="AutoSaveSizePos" type="hex" data="01"/> <value name="AutoSaveSizePos" type="hex" data="01"/>
<value name="IntegralSize" type="hex" data="00"/> <value name="IntegralSize" type="hex" data="00"/>

View File

@ -1,5 +0,0 @@
set startdir = %cd%
set aliasdir = %USERPROFILE%
set localappdata = %LocalAppData%
echo mklink aliases.cmd %stardir%

View File

@ -14,55 +14,87 @@ Write-Host "User Profile Directory: $($env:USERPROFILE)"
# VS Code Directory # VS Code Directory
$app_data = $env:APPDATA $app_data = $env:APPDATA
Write-Host "VS Code User Directory: $($app_data)\Code\User" Write-Host "VS Code User Directory: $($app_data)\Code\User"
$vscode_user_settings_path = "$($app_data)\Code\User\settings.json" $vscode_user_settings_path = "$($app_data)\Code\User\settings.json"
Write-Host "VS Code User Settings Path: $($vscode_user_settings_path)" Write-Host "VS Code User Settings Path: $($vscode_user_settings_path)"
# Cmder Config Directory # Cmder Config Directory
$cmder_root = $env:CMDER_ROOT $cmder_root = $env:CMDER_ROOT
Write-Host "Cmder Config Directory: $($cmder_root)\config" Write-Host "Cmder Config Directory: $($cmder_root)\config"
$cmder_user_conemu_xml_path = "$($cmder_root)\config\user_ConEmu.xml"
Write-Host "Cmder ConEmu Path: $($cmder_user_conemu_xml_path)"
$cmder_user_profile_cmd_path = "$($cmder_root)\config\user_profile.cmd" $cmder_user_profile_cmd_path = "$($cmder_root)\config\user_profile.cmd"
Write-Host "Cmder CMD User Profile Path: $($cmder_user_profile_cmd_path)" Write-Host "Cmder CMD User Profile Path: $($cmder_user_profile_cmd_path)"
$cmder_user_aliases_cmd_path = "$($cmder_root)\config\user_aliases.cmd" $cmder_user_aliases_cmd_path = "$($cmder_root)\config\user_aliases.cmd"
Write-Host "Cmder CMD Aliases Path: $($cmder_user_aliases_cmd_path)" Write-Host "Cmder CMD Aliases Path: $($cmder_user_aliases_cmd_path)"
$cmder_user_profile_ps_path = "$($cmder_root)\config\user_profile.ps1" $cmder_user_profile_ps_path = "$($cmder_root)\config\user_profile.ps1"
Write-Host "Cmder PowerShell Profile Path: $($cmder_user_profile_ps_path)" Write-Host "Cmder PowerShell Profile Path: $($cmder_user_profile_ps_path)"
# Neovim Config Directory # Neovim Config Directory
$local_app_data = $env:LOCALAPPDATA $local_app_data = $env:LOCALAPPDATA
Write-Host "Neovim Init Directory: $($local_app_data)\nvim" Write-Host "Neovim Init Directory: $($local_app_data)\nvim"
$neovim_init_path = "$($local_app_data)\nvim\init.vim" $neovim_init_path = "$($local_app_data)\nvim\init.vim"
Write-Host "Neovim Init Path: $($neovim_init_path)" Write-Host "Neovim Init Path: $($neovim_init_path)"
# Cmder DOSKEY Aliases
if (-not (Test-Path -Path $cmder_user_aliases_cmd_path)) { if (-not (Test-Path -Path $cmder_user_aliases_cmd_path)) {
$repo_cmder_user_aliases_cmd_path = "$($PWD)\cmder\user_aliases.cmd"
Write-Host "Repo user_aliases.cmd: $($repo_cmder_user_aliases_cmd_path)"
New-Item -Path $cmder_user_aliases_cmd_path -ItemType SymbolicLink -Value $repo_cmder_user_aliases_cmd_path
Get-Item -Path $cmder_user_aliases_cmd_path
} else { } else {
Write-Host "Cmder User Aliases Exists" Write-Host "Cmder User Aliases Exists"
} }
# Cmder CMD Profile
if (-not (Test-Path -Path $cmder_user_profile_cmd_path)) { if (-not (Test-Path -Path $cmder_user_profile_cmd_path)) {
$repo_cmder_user_profile_cmd_path = "$($PWD)\cmder\user_aliases.cmd"
Write-Host "Repo user_profile.cmd: $($repo_cmder_user_profile_cmd_path)"
New-Item -Path $cmder_user_profile_cmd_path -ItemType SymbolicLink -Value $repo_cmder_user_profile_cmd_path
Get-Item -Path $cmder_user_profile_cmd_path
} else { } else {
Write-Host "Cmder User Profile Exists" Write-Host "Cmder User Profile Exists"
} }
# Cmder Powershell User Profile
if (-not (Test-Path -Path $cmder_user_profile_ps_path)) { if (-not (Test-Path -Path $cmder_user_profile_ps_path)) {
$repo_cmder_user_profile_ps_path = "$($PWD)\cmder\user_profile.ps1"
Write-Host "Repo user_profile.ps1: $($repo_cmder_user_profile_ps_path)"
New-Item -Path $cmder_user_profile_ps_path -ItemType SymbolicLink -Value $repo_cmder_user_profile_ps_path
Get-Item -Path $cmder_user_profile_ps_path
} else { } else {
Write-Host "Cmder Powershell Profile Exists" Write-Host "Cmder Powershell Profile Exists"
} }
# Cmder ConEmu Settings
if(-not (Test-Path -Path $cmder_user_conemu_xml_path)) {
$repo_cmder_user_conemu_cml_path = "$($PWD)\cmder\user-ConEmu.xml"
Write-Host "Repo user-ConEmu.xml: $($repo_cmder_user_conemu_cml_path)"
New-Item -Path $cmder_user_conemu_xml_path -ItemType SymbolicLink -Value $repo_cmder_user_conemu_cml_path
} else {
Write-Host "Cmder ConEum User Profile Exists"
}
# VSCODE Settings
if (-not (Test-Path -Path $vscode_user_settings_path)) { if (-not (Test-Path -Path $vscode_user_settings_path)) {
$repo_vscode_user_settings_path = "$($PWD)\vscode\settings.json)"
Write-Host "Repo VSCode User Settings: $($repo_vscode_user_settings_path)"
New-Item -Path $vscode_user_settings_path -ItemType SymbolicLink -Value $repo_vscode_user_settings_path
Get-Item -Path $vscode_user_settings_path
} else { } else {
Write-Host "VS Code User Settings Exists" Write-Host "VS Code User Settings Exists"
} }
# NeoVim init
if (-not (Test-Path -Path $neovim_init_path)) { if (-not (Test-Path -Path $neovim_init_path)) {
Write-Host "Repo init.vim: $($PWD)\vim\init.vim" $repo_neovim_init_path = "$($PWD)\vim\init.vim"
New-Item -Path $neovim_init_path -ItemType SymbolicLink -Value "$($PWD)\vim\init.vim" Write-Host "Repo init.vim: $($repo_neovim_init_path)"
New-Item -Path $neovim_init_path -ItemType SymbolicLink -Value $repo_neovim_init_path
Get-Item -Path $neovim_init_path Get-Item -Path $neovim_init_path
} else { } else {
Write-Host "Neovim Init Path Exists" Write-Host "Neovim Init Path Exists"

View File

@ -1,4 +1,5 @@
# DOSKEY Aliases # DOSKEY Aliases
Get command line aliases in your Windows Command Prompt. Get command line aliases in your Windows Command Prompt.
Create symlinks from repo to repsective dirs. Create SymbolicLinks from repo to respective directories using the [Install PowerShell Script](install.ps1).

View File

@ -30,6 +30,7 @@
"Configruation", "Configruation",
"Crosstab", "Crosstab",
"Crosstabs", "Crosstabs",
"DOSKEY",
"Datasource", "Datasource",
"Etag", "Etag",
"GIFs", "GIFs",