On 18/04/2023 21:19, Vincent Lefevre wrote:
BTW, history expansion can be very useful, but IMHO, this should have been interactive and triggered by control characters or escape sequences, not by "normal" characters.
It would be great. Unfortunately disabling histexpand option in bash blocks the M-^ shortcut as well.
shopt -s histverify allows at least to confirm that expansion result is expected.