diff --git a/src/shell/atuin.fish b/src/shell/atuin.fish index 4f838f3..f675d63 100644 --- a/src/shell/atuin.fish +++ b/src/shell/atuin.fish @@ -1,7 +1,9 @@ set -gx ATUIN_SESSION (atuin uuid) function _atuin_preexec --on-event fish_preexec - set -gx ATUIN_HISTORY_ID (atuin history start -- "$argv[1]") + 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