mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
30019: _tar: fix parsing of argument to -C.
This commit is contained in:
parent
02dc5c681e
commit
fd1c2364f4
2 changed files with 5 additions and 2 deletions
|
@ -177,7 +177,7 @@ else
|
|||
fi
|
||||
fi
|
||||
if (( index )); then
|
||||
index="$~words[index+1]"
|
||||
index=${~${(Q)words[index+1]}}
|
||||
[[ $index = (.|..|)/* ]] || index=~+/$index
|
||||
_files -W $index
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue