From c69f6ee3f9897a2b529c0572a5be16792e70ff84 Mon Sep 17 00:00:00 2001 From: Yuvi Panda Date: Sun, 9 May 2021 17:42:09 +0530 Subject: [PATCH] Run shellcheck on bash file (#81) Ref #64 --- src/shell/atuin.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shell/atuin.bash b/src/shell/atuin.bash index 8c35b4f..93c3192 100644 --- a/src/shell/atuin.bash +++ b/src/shell/atuin.bash @@ -9,14 +9,14 @@ _atuin_precmd() { [[ -z "${ATUIN_HISTORY_ID}" ]] && return - (RUST_LOG=error atuin history end $ATUIN_HISTORY_ID --exit $EXIT &) > /dev/null 2>&1 + (RUST_LOG=error atuin history end "$ATUIN_HISTORY_ID" --exit $EXIT &) > /dev/null 2>&1 } __atuin_history () { tput rmkx - HISTORY="$(RUST_LOG=error atuin search -i $BUFFER 3>&1 1>&2 2>&3)" + HISTORY="$(RUST_LOG=error atuin search -i "$BUFFER" 3>&1 1>&2 2>&3)" tput smkx READLINE_LINE=${HISTORY}