summaryrefslogtreecommitdiffstats
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Darwin/Command/_say2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Darwin/Command/_say b/Completion/Darwin/Command/_say
index 1459c7372..1b2a2e948 100644
--- a/Completion/Darwin/Command/_say
+++ b/Completion/Darwin/Command/_say
@@ -77,7 +77,7 @@ case $state in
;;
voices)
tmp=( ${(f)"$( _call_program voices $words[1] -v '\?' )"} )
- tmp=( ${tmp%%[[:space:]](#c2,)*} )
+ tmp=( ${tmp%%[[:space:]]##[[:lower:]]##[_-][[:alnum:]]##*} )
_values voice $tmp && ret=0
;;
esac