aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2024-05-30 02:45:56 +0200
committersrdusr <trevorgray@srdusr.com>2024-05-30 02:45:56 +0200
commitd856c6a0256a769886bf10222c33dc3306c346db (patch)
treea171a844270337247e5b9fde79001519d35d327d /.config
parented53d83627ac3aa960dd85e9f478075d90d8dece (diff)
downloaddotfiles-d856c6a0256a769886bf10222c33dc3306c346db.tar.gz
dotfiles-d856c6a0256a769886bf10222c33dc3306c346db.zip
Testing
Diffstat (limited to '.config')
-rw-r--r--.config/powershell/bootstrap.ps116
1 files changed, 8 insertions, 8 deletions
diff --git a/.config/powershell/bootstrap.ps1 b/.config/powershell/bootstrap.ps1
index 88df884..51357b5 100644
--- a/.config/powershell/bootstrap.ps1
+++ b/.config/powershell/bootstrap.ps1
@@ -263,11 +263,11 @@ $UserMyDocumentsPath = [Environment]::GetFolderPath('MyDocuments')
$PowerShellProfileDirectory = "$UserMyDocumentsPath\PowerShell"
$PowerShellLegacySymlink = "$UserMyDocumentsPath\WindowsPowerShell"
-$WindowsTerminalSettingsDirectory = "$env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState"
+#$WindowsTerminalSettingsDirectory = "$env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState"
$PowerShellProfileTemplate = "$PSScriptRoot\$USERNAME\Documents\PowerShell\Microsoft.PowerShell_profile.ps1"
-$PowerShellThemeTemplate = "$PSScriptRoot\windows_terminal\theme.omp.json"
-$WindowsTerminalSettingsTemplate = "$PSScriptRoot\windows_terminal\settings.json"
+#$PowerShellThemeTemplate = "$PSScriptRoot\windows_terminal\theme.omp.json"
+#$WindowsTerminalSettingsTemplate = "$PSScriptRoot\windows_terminal\settings.json"
# Remove OneDrive directory
Write-Host "Removing OneDrive directory"
@@ -291,11 +291,11 @@ New-Item -ItemType HardLink -Force `
-Path "$powerShellProfileDir\Microsoft.PowerShell_profile.ps1" `
-Target "$home\.config\powershell\Microsoft.PowerShell_profile.ps1"
-# Set environment variable
-[System.Environment]::SetEnvironmentVariable('PowerShellProfileDir', $powerShellProfileDir, [System.EnvironmentVariableTarget]::User)
-
-Write-Host "PowerShell profile directory set to: $powerShellProfileDir"
-Write-Host "Environment variable 'PowerShellProfileDir' set to: $powerShellProfileDir"
+## Set environment variable
+#[System.Environment]::SetEnvironmentVariable('PowerShellProfileDir', $powerShellProfileDir, [System.EnvironmentVariableTarget]::User)
+#
+#Write-Host "PowerShell profile directory set to: $powerShellProfileDir"
+#Write-Host "Environment variable 'PowerShellProfileDir' set to: $powerShellProfileDir"
# Verify profile sourcing
if (!(Test-Path -Path "$home\.config\powershell\Microsoft.PowerShell_profile.ps1")) {