From: Mark Lewandowski Date: Mon, 9 Jan 2012 19:52:51 +0000 (-0800) Subject: Add support for zsh completion to bash-completion X-Git-Tag: conduit-4~194^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=0c7c52381d159902a06ec50f61337f88ec2dcd73;p=arcanist.git Add support for zsh completion to bash-completion --- diff --git a/resources/shell/bash-completion b/resources/shell/bash-completion index e431064f..0ba9ef48 100644 --- a/resources/shell/bash-completion +++ b/resources/shell/bash-completion @@ -1,3 +1,7 @@ +if [[ -n ${ZSH_VERSION-} ]]; then + autoload -U +X bashcompinit && bashcompinit +fi + _arc () { CUR="${COMP_WORDS[COMP_CWORD]}"