From 17d57a4bd7c2a61e116bbe8956de180f90da9eaa Mon Sep 17 00:00:00 2001 From: Abhimanyu Aryan <8083613+AbhimanyuAryan@users.noreply.github.com> Date: Wed, 7 Feb 2024 04:38:51 +0530 Subject: [PATCH] fix command for powershell the old command doesn't work and gives error ``` zoxide: PWD hooks are not supported below powershell 6. Use 'zoxide init powershell --hook prompt' instead. At line:1 char:1 + . 'C:\Users\aryan\Documents\WindowsPowerShell\Microsoft.PowerShell_pr ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Microsoft.PowerShell_profile.ps1 ``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aaf2bf6..7b9782c 100644 --- a/README.md +++ b/README.md @@ -254,7 +254,7 @@ zoxide can be installed in 4 easy steps: > `echo $profile` in PowerShell): > > ```powershell - > Invoke-Expression (& { (zoxide init powershell | Out-String) }) + > Invoke-Expression (& { (zoxide init powershell --hook prompt | Out-String) }) > ```