Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Sourcing bash completion files



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'



Messages sorted by: Reverse Date, Date, Thread, Author