Support Fish's private mode
This commit is contained in:
parent
6069bea81a
commit
d44bb27abe
|
|
@ -48,7 +48,8 @@ if test "$__zoxide_hooked" != 1
|
|||
{%- when InitHook::Pwd %}
|
||||
function __zoxide_hook --on-variable PWD
|
||||
{%- endmatch %}
|
||||
command zoxide add -- (__zoxide_pwd)
|
||||
set -q fish_private_mode
|
||||
or command zoxide add -- (__zoxide_pwd)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue