summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuvi Panda <yuvipanda@gmail.com>2021-05-09 17:42:09 +0530
committerGitHub <noreply@github.com>2021-05-09 13:12:09 +0100
commitc69f6ee3f9897a2b529c0572a5be16792e70ff84 (patch)
treefbada8702103b68891ff61e0b2ca0ef3b8127810
parenta04865d9d871dd68a3d66415e1e0892d24bf9684 (diff)
Run shellcheck on bash file (#81)
Ref #64
-rw-r--r--src/shell/atuin.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell/atuin.bash b/src/shell/atuin.bash
index 8c35b4f7..93c31922 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}