diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-24 11:26:28 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-24 11:26:28 +0000 |
commit | bd08a2a44ee15433e74c19e9ab2d8c490b836a70 (patch) | |
tree | be670852306dd8177fdc07a46fc02d2c647ef08c | |
parent | e504499d98a057b0e39bb019707cb905bdbe7e62 (diff) | |
download | zsh-bd08a2a44ee15433e74c19e9ab2d8c490b836a70.tar.gz zsh-bd08a2a44ee15433e74c19e9ab2d8c490b836a70.tar.xz zsh-bd08a2a44ee15433e74c19e9ab2d8c490b836a70.zip |
zsh-workers/8038
-rw-r--r-- | Completion/User/_tar | 6 |
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 |