diff options
| author | Ibrahim Muftee <ibrahim@muftee.net> | 2025-08-04 16:54:11 -0500 |
|---|---|---|
| committer | Ibrahim Muftee <ibrahim@muftee.net> | 2026-07-01 00:23:31 -0400 |
| commit | d2f79aca9c97d7899b6ba90d9a9d9c639bb2683e (patch) | |
| tree | d96de2879ecb61a17fdd26b318312c81a463c07d /dot_config | |
| parent | 0d6f8ce5ccd223d324e006ce0f0cff7e0474adee (diff) | |
feat(powershell): source local scripts and add zoxide
Diffstat (limited to 'dot_config')
| -rw-r--r-- | dot_config/powershell/Microsoft.PowerShell_profile.ps1 | 6 |
1 files changed, 6 insertions, 0 deletions
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) }) |
