aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--atuin/src/shell/atuin.bash6
1 files changed, 5 insertions, 1 deletions
diff --git a/atuin/src/shell/atuin.bash b/atuin/src/shell/atuin.bash
index 2008d107..a0b20061 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}