[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ctrl+A with multi-line history
From: |
Mikel Ward |
Subject: |
Ctrl+A with multi-line history |
Date: |
Mon, 8 Sep 2008 10:23:19 +1000 |
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
- Ctrl+A with multi-line history,
Mikel Ward <=