Files
dotfiles/powershell/profile.ps1

7 lines
381 B
PowerShell

$env:PATH = [System.Environment]::GetEnvironmentVariable("PATH","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("PATH","User")
$env:MAGICK_CODER_MODULE_PATH = "$(scoop prefix imagemagick)\modules\coders"
oh-my-posh init pwsh --config "$HOME\oh-my-posh-themes\1_shell_fluery.json" | Invoke-Expression
if (Test-Path "$HOME\.secrets.ps1") { . "$HOME\.secrets.ps1" }