mirror of
https://github.com/atuinsh/atuin.git
synced 2025-01-13 09:49:10 +01:00
fix(bash): improve output of enter_accept
(#1342)
This commit is contained in:
parent
a57baffa91
commit
fa7caf430a
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user