On Wed, Dec 31, 2008 at 09:14:45AM +0000, Smylers wrote: > Martin Ebourne writes: > > > RM_STAR_WAIT > > If querying the user before executing `rm *' or `rm path/*', > > first wait ten seconds and ignore anything typed in that time. > > This avoids the problem of reflexively answering `yes' to the > > query when one didn't really mean it. > > I can see why that'd be a problem -- one can get into the habit of > automatically agreeing to the confirmation prompt. But: > > > The wait and query can always be avoided by expanding the `*' in > > ZLE (with tab). > > Surely instead one would just get used to always pressing Tab before > Enter? I fail to see how training one's fingers into a different habit > is any safer.
Indeed. The only answer to that is to have the program ask questions that require different answers all the time. Abigail
