1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 22:51:42 +02:00

zsh-workers/8038

This commit is contained in:
Tanaka Akira 1999-09-24 11:26:28 +00:00
parent e504499d98
commit bd08a2a44e

View file

@ -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