summaryrefslogtreecommitdiff
path: root/dot_config
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config')
-rw-r--r--dot_config/powershell/Microsoft.PowerShell_profile.ps16
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) })