zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: Sourcing bash completion files
Date: Wed, 30 Dec 2015 17:36:58 -0800	[thread overview]
Message-ID: <151230173658.ZM9725@torch.brasslantern.com> (raw)
In-Reply-To: <20151230232254.GC12070@drscott.swordarmor.fr>

On Dec 31, 12:22am, Alarig Le Lay wrote:
}
} 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 `]]'

Interesting, it appears bash has adopted the ksh-style @(...) grouping
syntax.  (Chet will probably confirm or deny.)

Try:

emulate sh -o kshglob -c 'source /usr/share/bash-completion/bash_completion'


  reply	other threads:[~2015-12-31  1:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30 23:22 Alarig Le Lay
2015-12-31  1:36 ` Bart Schaefer [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=151230173658.ZM9725@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).