From d1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854 Mon Sep 17 00:00:00 2001 From: dana Date: Wed, 13 Jun 2018 18:59:05 -0500 Subject: 42992: Fix minor escaping bug in _bash --- Completion/Unix/Command/_bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Unix/Command/_bash') diff --git a/Completion/Unix/Command/_bash b/Completion/Unix/Command/_bash index 260ca64fb..cc219f788 100644 --- a/Completion/Unix/Command/_bash +++ b/Completion/Unix/Command/_bash @@ -71,12 +71,12 @@ case $state in fi ;; set-options) - tmp=( ${(f)"$( _call_program set-options ${(q-)cmd} -c '"shopt -o"' )"} ) + tmp=( ${(f)"$( _call_program set-options $cmd -c '"shopt -o"' )"} ) tmp=( ${tmp%%[[:space:]]*} ) _values -w '`set` option' $tmp && ret=0 ;; shopt-options) - tmp=( ${(f)"$( _call_program shopt-options ${(q-)cmd} -c shopt )"} ) + tmp=( ${(f)"$( _call_program shopt-options $cmd -c shopt )"} ) tmp=( ${tmp%%[[:space:]]*} ) _values -w '`shopt` option' $tmp && ret=0 ;; -- cgit v1.2.3