diff options
| author | dana <dana@dana.is> | 2018-06-13 18:59:05 -0500 |
|---|---|---|
| committer | dana <dana@dana.is> | 2018-06-13 18:59:05 -0500 |
| commit | d1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854 (patch) | |
| tree | e52a7da95d50b1674002b60ef087bb1c4500fd0d /Completion/Unix/Command/_bash | |
| parent | 42992: Use _call_program to fetch argument possibilities (diff) | |
| download | zsh-d1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854.tar zsh-d1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854.tar.gz zsh-d1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854.tar.bz2 zsh-d1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854.tar.lz zsh-d1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854.tar.xz zsh-d1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854.tar.zst zsh-d1eb0f4ed13688bddfd875c2a3b70a2cbe9b0854.zip | |
42992: Fix minor escaping bug in _bash
Diffstat (limited to 'Completion/Unix/Command/_bash')
| -rw-r--r-- | Completion/Unix/Command/_bash | 4 |
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 ;; |
