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}