about summary refs log tree commit diff
path: root/Completion/Unix/Command/_bash
diff options
context:
space:
mode:
authordana <dana@dana.is>2018-06-13 18:59:05 -0500
committerdana <dana@dana.is>2018-06-13 18:59:05 -0500
commitd1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854 (patch)
treee52a7da95d50b1674002b60ef087bb1c4500fd0d /Completion/Unix/Command/_bash
parentb6e4cc1a86be43a2d28299e2c83bc3d0904e7336 (diff)
downloadzsh-d1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854.tar.gz
zsh-d1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854.tar.xz
zsh-d1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854.zip
42992: Fix minor escaping bug in _bash
Diffstat (limited to 'Completion/Unix/Command/_bash')
-rw-r--r--Completion/Unix/Command/_bash4
1 files changed, 2 insertions, 2 deletions
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
     ;;