about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-24 11:26:28 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-24 11:26:28 +0000
commitbd08a2a44ee15433e74c19e9ab2d8c490b836a70 (patch)
treebe670852306dd8177fdc07a46fc02d2c647ef08c
parente504499d98a057b0e39bb019707cb905bdbe7e62 (diff)
downloadzsh-bd08a2a44ee15433e74c19e9ab2d8c490b836a70.tar.gz
zsh-bd08a2a44ee15433e74c19e9ab2d8c490b836a70.tar.xz
zsh-bd08a2a44ee15433e74c19e9ab2d8c490b836a70.zip
zsh-workers/8038
-rw-r--r--Completion/User/_tar6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/User/_tar b/Completion/User/_tar
index 6433d3f8d..63838e83b 100644
--- a/Completion/User/_tar
+++ b/Completion/User/_tar
@@ -53,15 +53,15 @@ fi
 
 tmp="$words[(I)--file=*]"
 if (( tmp )); then
-  tf="${words[tmp][8,-1]}"
+  tf=${~words[tmp][8,-1]}
   _tar_cmd="f$_tar_cmd"
 elif [[ "$words[2]" != -* && "$words[2]" = *f* ]]; then
-  tf="$words[3]"
+  tf=${~words[3]}
   _tar_cmd="f$_tar_cmd"
 else
   tmp="${words[(I)-*f*~--*]}"
   if (( tmp )); then
-    tf="$words[tmp+1]"
+    tf=${~words[tmp+1]}
     _tar_cmd="f$_tar_cmd"
   fi
 fi