diff options
| author | Patrick Jackson <patrick@jackson.dev> | 2023-10-27 01:46:22 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-27 08:46:22 +0100 |
| commit | fa7caf430a063e42bb7ff05464fc04a3f6b5b0d6 (patch) | |
| tree | a9f69fd16b41023487a6ae050cad1ff0bd591cb2 | |
| parent | fix(fish): improve output for `enter_accept` (#1341) (diff) | |
| download | atuin-fa7caf430a063e42bb7ff05464fc04a3f6b5b0d6.zip | |
fix(bash): improve output of `enter_accept` (#1342)
| -rw-r--r-- | atuin/src/shell/atuin.bash | 6 |
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} |
