mirror of
https://github.com/atuinsh/atuin.git
synced 2025-06-22 19:02:05 +02:00
Respect fish shell's builtin private mode (#577)
This commit is contained in:
parent
17c2e73388
commit
90d089c73e
@ -1,8 +1,10 @@
|
||||
set -gx ATUIN_SESSION (atuin uuid)
|
||||
|
||||
function _atuin_preexec --on-event fish_preexec
|
||||
if not test -n "$fish_private_mode"
|
||||
set -gx ATUIN_HISTORY_ID (atuin history start -- "$argv[1]")
|
||||
end
|
||||
end
|
||||
|
||||
function _atuin_postexec --on-event fish_postexec
|
||||
set s $status
|
||||
|
Loading…
x
Reference in New Issue
Block a user