From d2f79aca9c97d7899b6ba90d9a9d9c639bb2683e Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Mon, 4 Aug 2025 16:54:11 -0500 Subject: feat(powershell): source local scripts and add zoxide --- dot_config/powershell/Microsoft.PowerShell_profile.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dot_config/powershell') diff --git a/dot_config/powershell/Microsoft.PowerShell_profile.ps1 b/dot_config/powershell/Microsoft.PowerShell_profile.ps1 index f622790..c1935ad 100644 --- a/dot_config/powershell/Microsoft.PowerShell_profile.ps1 +++ b/dot_config/powershell/Microsoft.PowerShell_profile.ps1 @@ -4,6 +4,9 @@ $env:XDG_DATA_HOME=$(Join-Path "C:" $env:HOMEPATH "\.local\share") $env:XDG_STATE_HOME=$(Join-Path "C:" $env:HOMEPATH "\.local\state") $env:EDITOR="nvim" +# Add personal scripts to path +$env:path += ";$env:HOMEPATH\Scripts" + # Use some cool icons Import-Module -Name Terminal-Icons @@ -38,3 +41,6 @@ if (Get-Command -Name 'nvim' -CommandType 'Application' -ErrorAction SilentlyCon # Load Starship prompt Invoke-Expression (&starship init powershell) + +# Load zoxide +Invoke-Expression (& { (zoxide init powershell | Out-String) }) -- cgit v1.2.3