Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Sourcing bash completion files
- X-seq: zsh-users 21110
- From: Alarig Le Lay <alarig@xxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Sourcing bash completion files
- Date: Thu, 31 Dec 2015 00:22:54 +0100
- Authentication-results: bulbizarre.swordarmor.fr; dkim=pass reason="1024-bit key" header.d=swordarmor.fr header.i=@swordarmor.fr header.b=b6UgLptb; dkim-adsp=pass; dkim-atps=neutral
- Dkim-signature: v=1; a=rsa-sha1; c=simple; d=swordarmor.fr; h=date:from :to:subject:message-id:mime-version:content-type; s=default; bh= zSnzyRUfwPxCqcK+Bst0z7r/6JQ=; b=b6UgLptbM8+Zzm8J9/pX8NpL7DaZQZiX DncGIbrEuhwv67mHmFcjk3n5Y/g5q3HRuk0j077a1Mid3rk+/HvNLm2hIaTrDPU5 3yIh1g8ZNIyrzkRTqNgWDU5Tpf2wcWIwpM7Dc1WjbL8uoBiHHjgSKJH6alC0z+W+ 8MAQh4LEVgY=
- Domainkey-signature: a=rsa-sha1; c=simple; d=swordarmor.fr; h=date:from :to:subject:message-id:mime-version:content-type; q=dns; s= default; b=l7NB9DBHA7UWa01fkUolpBrAri8uHDAGD0fnXLamNOq0VgXQ3m2ow KuED3dIpc02LWOV7efaKc+2VhTDeEK9XgYRr63l4OkwC4x+I6EjauORz+FEk+Lo4 vnRFgWiXcpiNF2Be4QANmsXdBotM5hjPx2k4EaQ8agnTTg7/L6CDnQ=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi,
I’m currently using the zsh and bash gentoo packages, so version 5.0.5
and 4.3_p42.
I would like to source some bash completion files (for exemple for dig,
I haven’t any completion in zsh).
So, I put this in my ~/.zshrc:
autoload -U compinit promptinit bashcompinit
compinit
promptinit; prompt gentoo
bashcompinit
source /usr/share/bash-completion/bash_completion
But I have an error on the source line:
/usr/share/bash-completion/bash_completion:35: parse error near `]]'
Here is this file: https://paste.swordarmor.fr/yIHW&ln
How can I source this file?
Thanks,
--
Alarig Le Lay
Attachment:
signature.asc
Description: Digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author