mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 06:20:55 +01:00
51249: use of --force-local with tar completion
This commit is contained in:
parent
35a2f155c3
commit
bc7511bdd8
2 changed files with 6 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ elif [[ ( "$_tar_cmd" = *[xt]* || -n $del ) && -n "$tf" ]]; then
|
|||
fi
|
||||
|
||||
if [[ $tf != $_tar_cache_name && -f $tf ]]; then
|
||||
_tar_cache_list=("${(@f)$($words[1] $largs $tf)}")
|
||||
_tar_cache_list=("${(@f)$($words[1] ${words[(r)--force-local]} $largs $tf)}")
|
||||
_tar_cache_name=$tf
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue