From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17662 invoked by alias); 30 Dec 2015 23:33:23 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21110 Received: (qmail 7786 invoked from network); 30 Dec 2015 23:33:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 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= Date: Thu, 31 Dec 2015 00:22:54 +0100 From: Alarig Le Lay To: zsh-users@zsh.org Subject: Sourcing bash completion files Message-ID: <20151230232254.GC12070@drscott.swordarmor.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NU0Ex4SbNnrxsi6C" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) --NU0Ex4SbNnrxsi6C Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I=E2=80=99m 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=E2=80=99t 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, --=20 Alarig Le Lay --NU0Ex4SbNnrxsi6C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWhGdOAAoJEK84SsFrICuIX+sH/j/SX7fzYk8jWiyRsLZm+yRk VEBP/zcw/BkrDk6faremfyIIa4/95NlwJVtDeXEuwZWiVJAO5PekavWz985lof4u PzhYwkI0vkx2iR60jbZEiaABj06WjQp87uRYkc9M1Fhk5YUfCMZJUTu3mgUXh5GC O8OzYF2Gnk89C7YUpqr+ouOfloksesvXSVO2Gzf85RJ0F9FFeoCyvfSZ6EaAe2pz PZncDqpoeaGYL6M4ZSurr+yDOxdqv3F5Yru2lO9RefrVSUa3bdpjYAvH/NzRVWhK GbII/ra46YeI/dAsPSlGYfTSQjzLGdQmkW7Hfcea05nyfPhTOrEXMie+DoRsNBo= =zwOP -----END PGP SIGNATURE----- --NU0Ex4SbNnrxsi6C--