From fa7caf430a063e42bb7ff05464fc04a3f6b5b0d6 Mon Sep 17 00:00:00 2001 From: Patrick Jackson Date: Fri, 27 Oct 2023 01:46:22 -0600 Subject: [PATCH] fix(bash): improve output of `enter_accept` (#1342) --- atuin/src/shell/atuin.bash | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/atuin/src/shell/atuin.bash b/atuin/src/shell/atuin.bash index 2008d10..a0b2006 100644 --- a/atuin/src/shell/atuin.bash +++ b/atuin/src/shell/atuin.bash @@ -23,8 +23,12 @@ __atuin_history() { if [[ $HISTORY == __atuin_accept__:* ]] then HISTORY=${HISTORY#__atuin_accept__:} - + echo "$HISTORY" + # Need to run the pre/post exec functions manually + _atuin_preexec "$HISTORY" eval "$HISTORY" + _atuin_precmd + echo else READLINE_LINE=${HISTORY} READLINE_POINT=${#READLINE_LINE}