Skip to content

[TIOCSTI] Bash w/o TIOCSTI requires 2x ENTER on insert of the row from HSTR via .bashrc defined fuction #554

@dvorka

Description

@dvorka

Problem description:

Because of Bash documented limitation, users must hit ENTER twice (once in HSTR, and then when row is inserted in the terminal):

  • Bash's bind -x cannot call readline functions (no accept-line equivalent)
  • Added clear documentation explaining this fundamental bash limitation
  • Result: Two ENTER presses required (documented as expected behavior)

Is there any workaround / trick like in Zsh?

Related:

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions