You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got it. The issue reported above is triggered by bash-preexec, which in turn is called by bash-it by default, see here for the related discussion.
In my case, I use bash-it to enhance the UX of bash, so the problem occurs. If I disable the bash-preexec calling from within bash-it as discussed here like the following, the problem will be fixed:
If I enable hishtory in
~/.bashrc
by adding the following code snippet into it:Then, I noticed that the following simple command would be particularly time-consuming:
If I disable hishtory, the above command will be very fast:
What is the cause of this? Are there some bugs in hishtory that trigger this issue?
Regards,
Zhao
The text was updated successfully, but these errors were encountered: