about summary refs log tree commit diff
path: root/Completion/Unix/Command/_units
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-06-05 10:39:14 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-06-05 10:39:14 +0000
commit2291ffb70dff8e0bdb72ab532c64e6dfa9c4bab4 (patch)
tree831fbc798de740a3aa3e176847516752ec04dac4 /Completion/Unix/Command/_units
parent3047fbc1ea698b0d7d0da5f06dfce1d2a2035393 (diff)
downloadzsh-2291ffb70dff8e0bdb72ab532c64e6dfa9c4bab4.tar.gz
zsh-2291ffb70dff8e0bdb72ab532c64e6dfa9c4bab4.tar.xz
zsh-2291ffb70dff8e0bdb72ab532c64e6dfa9c4bab4.zip
unposted: more _units tweaks
Diffstat (limited to 'Completion/Unix/Command/_units')
-rw-r--r--Completion/Unix/Command/_units2
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