mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2025-01-01 05:31:48 +00:00
Support Fish's private mode (#211)
This commit is contained in:
parent
22a9f6c32d
commit
85d0fbe6ee
@ -48,7 +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 %}
|
||||||
command zoxide add -- (__zoxide_pwd)
|
test -z "$fish_private_mode"
|
||||||
|
and command zoxide add -- (__zoxide_pwd)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user