Closed AbhimanyuAryan closed 7 months ago
PWD hooks work on PowerShell 7+ and above, the prompt hook has been kept as a fallback for older versions. You're probably running PowerShell 5, you can either upgrade it or modify the command to --hook prompt
.
the old command doesn't work and gives error