mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-30 15:02:18 +01:00
42992: Fix minor escaping bug in _bash
This commit is contained in:
parent
b6e4cc1a86
commit
d1eb0f4ed1
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
2018-06-13 dana <dana@dana.is>
|
||||
|
||||
* 42992: Completion/Unix/Command/_bash: Fix minor escaping bug
|
||||
|
||||
* 42992: Completion/Darwin/Command/_nvram,
|
||||
Completion/Darwin/Command/_osascript, Completion/Darwin/Command/_say,
|
||||
Completion/Darwin/Command/_scselect: Use _call_program to fetch argument
|
||||
|
|
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue