Skip to content

Commit 6013a5d

Browse files
Zoxide fix
1 parent ef95148 commit 6013a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Microsoft.PowerShell_profile.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ Register-ArgumentCompleter -Native -CommandName dotnet -ScriptBlock $scriptblock
611611
oh-my-posh init pwsh --config https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/cobalt2.omp.json | Invoke-Expression
612612

613613
if (Get-Command zoxide -ErrorAction SilentlyContinue) {
614-
Invoke-Expression (& { (zoxide init --cmd cd powershell | Out-String) })
614+
Invoke-Expression (& { (zoxide init powershell | Out-String) })
615615
} else {
616616
Write-Host "zoxide command not found. Attempting to install via winget..."
617617
try {

0 commit comments

Comments
 (0)