Be more spec compliant
This commit is contained in:
parent
d44bb27abe
commit
ccc4321a0b
|
|
@ -48,8 +48,8 @@ if test "$__zoxide_hooked" != 1
|
||||||
{%- when InitHook::Pwd %}
|
{%- when InitHook::Pwd %}
|
||||||
function __zoxide_hook --on-variable PWD
|
function __zoxide_hook --on-variable PWD
|
||||||
{%- endmatch %}
|
{%- endmatch %}
|
||||||
set -q fish_private_mode
|
test -z "$fish_private_mode"
|
||||||
or command zoxide add -- (__zoxide_pwd)
|
and command zoxide add -- (__zoxide_pwd)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue