On Sat, 2003-06-21 at 16:09, Mark C. Ballew wrote:
> On Sat, 2003-06-21 at 22:12, Todd A. Jacobs wrote:
>
> > What can zsh do that bash can't?
>
> I haven't used zsh heavily, but from what I've done with it I can tell
> you that it can do everything bash does but better, along with ksh and
> tcsh.
>
> Think of it as mushing all the popular (bash, ksh, tcsh) shells together
> and calling it "zsh".
>
> The zany zsh zealots on the list can tell you the details if you are
> curious.
>
> Mark
>
The main reason I switched to zsh is completion. I was running one of
the RedHat betas and they added bash completion. Then later they decided
it would likely confused too many people and took it out before release.
So I started getting an rpm directly from the author, but quickly found
bash completion's limitations. The author mentioned zsh might suite me
better, and was his inspiration for bash completion in the first place.
In the lastest verion of zsh they added support for bash completion
code, so in the rare cases where bash completion code may fill a niche
that zsh's doesn't you can use it. You can of course also write your
own.
For anyone who doesn't know, completion allows you to to fill in things
by hitting tab, but in a more intelligent way.
Examples:
ssh [EMAIL PROTECTED]<tab> and have it fill in bar.com from ~/.ssh/known_hosts to
become ssh [EMAIL PROTECTED]
tar jxf bleh<tab> and only complete on tar.bz2 files instead of any type
of file.
_______________________________________________
RLUG mailing list
[EMAIL PROTECTED]
http://www.rlug.org/mailman/listinfo/rlug