> I hit something by accident and command line editing no longer works.
> (I think I switched to the vi mode).
> 1. how do I get back to the emacs mode? (aka what did I hit?!)
If you're really in vi mode, use set -o emacs. If you're just in some
sub-mode, try ^G.
> 2. how do I disable vi mode fo
On Tue, Jun 23, 2009 at 09:00:10AM -0400, Chet Ramey wrote:
> Marc Weber wrote:
> > Hi,
> >
> > I stumbled about another bash problem today:
> >
> > for item in $(false);
> > echo $item
> > done || { echo for failed; }
> >
> > doesn't fail. I think it's bad that there is no
> > set -e
> >