|
From: | Chet Ramey |
Subject: | Re: Ctrl+A with multi-line history |
Date: | Sun, 07 Sep 2008 22:59:08 -0400 |
User-agent: | Thunderbird 2.0.0.16 (Macintosh/20080707) |
Mikel Ward wrote:
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 cmdhistcmdhist on
Try it without this option enabled, since the behavior you're objecting to is what this option is intended to provide. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
[Prev in Thread] | Current Thread | [Next in Thread] |