When I enter a command over multiple lines, e.g.

for f in *; do
    echo $f
done
<Enter>

Then I press <Up> to go back to that history entry, Ctrl+A takes me to
the start of the entire multi-line command, rather than to the
beginning of the "done" line, as I would expect.

Settings:
> shopt cmdhist
cmdhist         on
> bind -p | grep C-a
"\C-a": beginning-of-line
> echo $BASH_VERSION
3.2.25(1)-release
> rpm -q readline
readline-5.1-1.1


Reply via email to