We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7518d64 commit d7a4695Copy full SHA for d7a4695
Core/Extensions/Zoxide.ps1
@@ -1,5 +1,7 @@
1
Invoke-Expression (& {
2
- $hook = if ($PSVersionTable.PSVersion.Major -lt 6) { 'prompt' } else { 'pwd' }
+ # $hook = if ($PSVersionTable.PSVersion.Major -lt 6) { 'prompt' } else { 'pwd' }
3
4
- (zoxide init --hook $hook powershell | Out-String)
+ # (zoxide init --hook $hook powershell | Out-String)
5
+
6
+ Invoke-Expression (& { (zoxide init powershell | Out-String) })
7
})
0 commit comments