zsh-users
 help / color / mirror / code / Atom feed
* Sourcing bash completion files
@ 2015-12-30 23:22 Alarig Le Lay
  2015-12-31  1:36 ` Bart Schaefer
  2015-12-31 11:19 ` Oliver Kiddle
  0 siblings, 2 replies; 6+ messages in thread
From: Alarig Le Lay @ 2015-12-30 23:22 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-12-31 11:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-30 23:22 Sourcing bash completion files Alarig Le Lay
2015-12-31  1:36 ` Bart Schaefer
2015-12-31  8:17   ` Eric Cook
2015-12-31 10:30     ` Alarig Le Lay
2015-12-31 11:19 ` Oliver Kiddle
2015-12-31 11:51   ` Alarig Le Lay

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).