mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-05 11:01:13 +02:00
26829: Alexey I. Froloff: _rsync miscounts fields
This commit is contained in:
parent
4fdb6c2352
commit
29684e7c81
2 changed files with 10 additions and 4 deletions
|
@ -1,5 +1,8 @@
|
||||||
2009-04-16 Peter Stephenson <pws@csr.com>
|
2009-04-16 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
|
* Alexey I. Froloff: 26829: Completion/Unix/Command/_rsync:
|
||||||
|
miscounting fields in output.
|
||||||
|
|
||||||
* Tomasz Pala: users/14031: Completion/Linux/Command/_ipset:
|
* Tomasz Pala: users/14031: Completion/Linux/Command/_ipset:
|
||||||
updates.
|
updates.
|
||||||
|
|
||||||
|
@ -11544,5 +11547,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.4647 $
|
* $Revision: 1.4648 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -31,11 +31,14 @@ if compset -P '*::*/' || compset -P 'rsync://*/*/'; then
|
||||||
remdispf=(${remfiles:#d*})
|
remdispf=(${remfiles:#d*})
|
||||||
remdispd=(${(M)remfiles:#d*})
|
remdispd=(${(M)remfiles:#d*})
|
||||||
|
|
||||||
_wanted files expl 'remote file or directory' \
|
# $remdisp[fd] format:
|
||||||
compadd -d remdispf ${remdispf##* }
|
# attrs size date time name
|
||||||
|
|
||||||
_wanted files expl 'remote file or directory' \
|
_wanted files expl 'remote file or directory' \
|
||||||
compadd -S/ -d remdispd ${remdispd##* }
|
compadd -d remdispf ${${${${remdispf##[^ ]## ##}##[^ ]## ##}##[^ ]## ##}##[^ ]## ##}
|
||||||
|
|
||||||
|
_wanted files expl 'remote file or directory' \
|
||||||
|
compadd -S/ -d remdispd ${${${${remdispd##[^ ]## ##}##[^ ]## ##}##[^ ]## ##}##[^ ]## ##}
|
||||||
|
|
||||||
elif compset -P 1 '*::' || compset -P 1 'rsync://*/'; then
|
elif compset -P 1 '*::' || compset -P 1 'rsync://*/'; then
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue