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:
parent
e504499d98
commit
bd08a2a44e
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue