On Wed, Sep 10, 2003 at 02:16:29PM +0200, Guillaume Rousse wrote:
Ainsi parlait Chmouel Boudjnah :
Guillaume Rousse <[EMAIL PROTECTED]> writes:
> Here are two patches for bash completion.
<just trying>
would be awesome to update the zsh completion as well
</just trying>
Or at least just make it work. Current zsh package tries to emulate
bash-completion, and fails miserabily:
[EMAIL PROTECTED] guillaume]$ zsh
/etc/bash_completion:53: command not found: shopt
/etc/bash_completion:59: command not found: complete
...
er, it is bash_completion fault.
---
if [ "$PS1" ] && [ "$SHELL" = "/bin/bash" -a -f /etc/bash_completion ];
then
---
it should check for $BASH $BASH_VERSION or similar, not $SHELL which is
set by login.
zsh completions should be modified independently from bash.
zsh has it own completion metod, and has had it for much longer than
bash, i do not use bash, so i will not compare the two.
regards,
L.
--
Luca Berra -- [EMAIL PROTECTED]
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \