diff options
| author | Ellie Huxtable <e@elm.sh> | 2021-04-21 18:13:51 +0100 |
|---|---|---|
| committer | Ellie Huxtable <e@elm.sh> | 2021-04-21 21:26:44 +0100 |
| commit | 4a50ce366639ca9dac7324d6a47d6a0e6c7fccdf (patch) | |
| tree | 7ffd8848f675e1377f750cc0757768d074a5ac05 /src/shell | |
| parent | Bump rusqlite from 0.25.0 to 0.25.1 (#35) (diff) | |
| download | atuin-4a50ce366639ca9dac7324d6a47d6a0e6c7fccdf.zip | |
Bugfixes, show time ago, perf improvements
Also allow unique listing and more ergonomic cwd usage
Diffstat (limited to 'src/shell')
| -rw-r--r-- | src/shell/atuin.zsh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
