From 0c7c52381d159902a06ec50f61337f88ec2dcd73 Mon Sep 17 00:00:00 2001 From: Mark Lewandowski Date: Mon, 9 Jan 2012 11:52:51 -0800 Subject: [PATCH] Add support for zsh completion to bash-completion --- resources/shell/bash-completion | 4 ++++ 1 file changed, 4 insertions(+) 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]}"