1
0
Fork 0
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:
Daniel Shahaf 2022-12-24 11:17:16 +00:00 committed by Peter Stephenson
parent 35a2f155c3
commit bc7511bdd8
2 changed files with 6 additions and 1 deletions

View file

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