aboutsummaryrefslogtreecommitdiffstats
path: root/src/shell/atuin.bash
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell/atuin.bash')
-rw-r--r--src/shell/atuin.bash7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/shell/atuin.bash b/src/shell/atuin.bash
index 4530e31e..9c8fa237 100644
--- a/src/shell/atuin.bash
+++ b/src/shell/atuin.bash
@@ -17,7 +17,8 @@ _atuin_precmd() {
__atuin_history ()
{
tput rmkx
- HISTORY="$(RUST_LOG=error atuin search -i -- "${READLINE_LINE}" 3>&1 1>&2 2>&3)"
+ # shellcheck disable=SC2048,SC2086
+ HISTORY="$(RUST_LOG=error atuin search $* -i -- "${READLINE_LINE}" 3>&1 1>&2 2>&3)"
tput smkx
READLINE_LINE=${HISTORY}
@@ -34,6 +35,6 @@ fi
if [[ -z ${ATUIN_NOBIND} ]]; then
bind -x '"\C-r": __atuin_history'
- bind -x '"\e[A": __atuin_history'
- bind -x '"\eOA": __atuin_history'
+ bind -x '"\e[A": __atuin_history --shell-up-key-binding'
+ bind -x '"\eOA": __atuin_history --shell-up-key-binding'
fi