mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 18:30:55 +01:00
allow - before first argument of tar
This commit is contained in:
parent
ca06d8e308
commit
14ed190087
2 changed files with 5 additions and 0 deletions
|
|
@ -154,6 +154,8 @@ elif [[ ( "$_tar_cmd" = *[xt]* || -n $del ) && -n "$tf" ]]; then
|
|||
|
||||
_wanted files expl 'file from archive' _multi_parts / _tar_cache_list
|
||||
elif (( CURRENT == 2 )); then
|
||||
# ignore leading - since we complete option letters anyway
|
||||
compset -P -
|
||||
_values -s '' 'tar function' \
|
||||
'(c t u x)A[append to an archive]' \
|
||||
'(A t u x)c[create a new archive]' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue