diff options
-rw-r--r-- | Completion/Unix/Command/_units | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_units b/Completion/Unix/Command/_units index ff6942e7b..7fcb07894 100644 --- a/Completion/Unix/Command/_units +++ b/Completion/Unix/Command/_units @@ -71,7 +71,7 @@ if (( ${#units} )); then _alternative 'unitprefixes:unit prefix:compadd -S "" -a pfxs' \ 'units:unit:compadd -a units' && ret=0 # attempt to skip a prefix - if $(( ${#pfxs} )) && compset -P "(${(j.|.)pfxs})"; then + if (( ${#pfxs} )) && compset -P "(${(j.|.)pfxs})"; then _wanted units expl unit compadd -a units && ret=0 fi return ret |