File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export-env {
2626 if not $__zoxide_hooked {
2727 $env.config.hooks.pre_prompt = ($env.config.hooks.pre_prompt | append {
2828 __zoxide_hook: true,
29- code: {|| zoxide add -- $env.PWD}
29+ code: {|| ^ zoxide add -- $env.PWD}
3030 })
3131 }
3232{%- else if hook == InitHook::Pwd %}
@@ -43,7 +43,7 @@ export-env {
4343 if not $__zoxide_hooked {
4444 $env.config.hooks.env_change.PWD = ($env.config.hooks.env_change.PWD | append {
4545 __zoxide_hook: true,
46- code: {|_, dir| zoxide add -- $dir}
46+ code: {|_, dir| ^ zoxide add -- $dir}
4747 })
4848 }
4949{%- endif %}
@@ -62,7 +62,7 @@ def --env --wrapped __zoxide_z [...rest: string] {
6262 [ '-' ] => {'-'},
6363 [ $arg ] if ($arg | path expand | path type) == 'dir' => {$arg}
6464 _ => {
65- zoxide query --exclude $env.PWD -- ...$rest | str trim -r -c "\n"
65+ ^ zoxide query --exclude $env.PWD -- ...$rest | str trim -r -c "\n"
6666 }
6767 }
6868 cd $path
@@ -73,7 +73,7 @@ def --env --wrapped __zoxide_z [...rest: string] {
7373
7474# Jump to a directory using interactive search.
7575def --env --wrapped __zoxide_zi [...rest:string] {
76- cd $'(zoxide query --interactive -- ...$rest | str trim -r -c "\n")'
76+ cd $'(^ zoxide query --interactive -- ...$rest | str trim -r -c "\n")'
7777{%- if echo %}
7878 echo $env.PWD
7979{%- endif %}
You can’t perform that action at this time.
0 commit comments