Skip to content

Commit d7a4695

Browse files
committed
update Zoxide extension config
1 parent 7518d64 commit d7a4695

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Core/Extensions/Zoxide.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
Invoke-Expression (& {
2-
$hook = if ($PSVersionTable.PSVersion.Major -lt 6) { 'prompt' } else { 'pwd' }
2+
# $hook = if ($PSVersionTable.PSVersion.Major -lt 6) { 'prompt' } else { 'pwd' }
33

4-
(zoxide init --hook $hook powershell | Out-String)
4+
# (zoxide init --hook $hook powershell | Out-String)
5+
6+
Invoke-Expression (& { (zoxide init powershell | Out-String) })
57
})

0 commit comments

Comments
 (0)