mirror of
https://github.com/atuinsh/atuin.git
synced 2025-06-20 09:58:00 +02: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__:* ]]
|
if [[ $HISTORY == __atuin_accept__:* ]]
|
||||||
then
|
then
|
||||||
HISTORY=${HISTORY#__atuin_accept__:}
|
HISTORY=${HISTORY#__atuin_accept__:}
|
||||||
|
echo "$HISTORY"
|
||||||
|
# Need to run the pre/post exec functions manually
|
||||||
|
_atuin_preexec "$HISTORY"
|
||||||
eval "$HISTORY"
|
eval "$HISTORY"
|
||||||
|
_atuin_precmd
|
||||||
|
echo
|
||||||
else
|
else
|
||||||
READLINE_LINE=${HISTORY}
|
READLINE_LINE=${HISTORY}
|
||||||
READLINE_POINT=${#READLINE_LINE}
|
READLINE_POINT=${#READLINE_LINE}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user