fix(bash): improve output of enter_accept
(#1342)
This commit is contained in:
parent
a57baffa91
commit
fa7caf430a
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue