[plug] zsh vs bash

Christian christian at amnet.net.au
Mon Feb 12 19:09:01 WST 2001


On Mon, Feb 12, 2001 at 01:32:16PM +0800, Mike Holland wrote:
 
> > Spelling Correction                  N    N    N    N    Y    Y    N    N
> 
> Does bash still lack such a cool feature?
> 
>    % ls /etcc
>    zsh: correct '/etcc' to '/etc' [nyae]?

Definitely a cool feature but I'm not sure I personally would use it
much.  I tend to type only the first few characters of the
file/directory I'm after and then let the shell complete the rest so
there are few spelling errors.

Here's an idea for a cool shell feature... If you type an rm command by
itself on the command line the shell delays execution of that command
for 10 seconds although it takes you back to the shell prompt
immediately.  Any time before the 10 seconds elapses you can cancel the
unlinking.  This is probably scriptable I guess although not necessarily
cleanly/robustly.  Anyone want to take a stab? :-)



More information about the plug mailing list