Skip to content

Commit 07835a4

Browse files
committed
fix: update zoxide in nushell for nested shell runs
1 parent 5bbcf45 commit 07835a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dot_config/nushell/scripts/zoxide.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77

88
# Initialize hook to add new entries to the database.
9-
if (not ($env | default false __zoxide_hooked | get __zoxide_hooked)) {
9+
if (not ($env | default false __zoxide_hooked | get __zoxide_hooked | into bool)) {
1010
$env.__zoxide_hooked = true
1111
$env.config = ($env | default {} config).config
1212
$env.config = ($env.config | default {} hooks)

0 commit comments

Comments
 (0)