From 4a50ce366639ca9dac7324d6a47d6a0e6c7fccdf Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Wed, 21 Apr 2021 18:13:51 +0100 Subject: Bugfixes, show time ago, perf improvements Also allow unique listing and more ergonomic cwd usage --- src/shell/atuin.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/shell/atuin.zsh') diff --git a/src/shell/atuin.zsh b/src/shell/atuin.zsh index d6d58f53..cdef5e54 100644 --- a/src/shell/atuin.zsh +++ b/src/shell/atuin.zsh @@ -15,8 +15,8 @@ _atuin_precmd(){ [[ -z "${ATUIN_HISTORY_ID}" ]] && return - atuin history end $ATUIN_HISTORY_ID --exit $EXIT - export ATUIN_HISTORY_ID="" + + (RUST_LOG=error atuin history end $ATUIN_HISTORY_ID --exit $EXIT &) > /dev/null 2>&1 } _atuin_search(){ @@ -27,7 +27,7 @@ _atuin_search(){ echoti rmkx # swap stderr and stdout, so that the tui stuff works # TODO: not this - output=$(atuin search $BUFFER 3>&1 1>&2 2>&3) + output=$(RUST_LOG=error atuin search -i $BUFFER 3>&1 1>&2 2>&3) echoti smkx if [[ -n $output ]] ; then -- cgit v1.3.1