[Pkg-zsh-devel] Bug#786881: Bug#786881: Bug#786881: zsh: reusability of bash-completion scripts
Ritesh Raj Sarraf
rrs at researchut.com
Thu May 28 06:29:40 UTC 2015
On Wednesday 27 May 2015 11:27 PM, Ritesh Raj Sarraf wrote:
>> If they had a common naming scheme, it would have been possible.
>> >
>> > for example: git-buildpackage ships both the zsh and bash completion
>> >
>> > /usr/share/zsh/vendor-completions/_gbp
>> >
>> > vs
>> >
>> > /etc/bash_completion.d/git-buildpackage
>> >
>> >
>> > If they had a standard/common naming scheme, some basic shell construct
>> > could be added to override one over the other.
>> >
> DBUG 787005 may be a good justification why a common ground may be needed.
Actually, it is not as simple and straight forward as I thought it'd be.
There are more incompatibilities.
rrs at learner ~ for x in /usr/share/bash-completion/completions/*;
do source $x; done
/usr/share/bash-completion/completions/apropos:3: command not found:
_userland
/usr/share/bash-completion/completions/aptitude:3: command not found: _have
/usr/share/bash-completion/completions/arch:5: command not found: _have
/usr/share/bash-completion/completions/autossh:195: command not found: shopt
/usr/share/bash-completion/completions/autossh:254: command not found: shopt
/usr/share/bash-completion/completions/dpkg:3: command not found: _have
/usr/share/bash-completion/completions/dpkg:19: command not found: _have
/usr/share/bash-completion/completions/dpkg-deb:3: command not found: _have
/usr/share/bash-completion/completions/dpkg-deb:19: command not found: _have
/usr/share/bash-completion/completions/dpkg-query:3: command not found:
_have
/usr/share/bash-completion/completions/dpkg-query:19: command not found:
_have
/usr/share/bash-completion/completions/dpkg-reconfigure:3: command not
found: _have
/usr/share/bash-completion/completions/dpkg-reconfigure:19: command not
found: _have
/usr/share/bash-completion/completions/export:16: parse error near `&'
WARNING: this script is deprecated, please see git-completion.zsh
WARNING: this script is deprecated, please see git-completion.zsh
/usr/share/bash-completion/completions/gphoto2:52: parse error near
`$(compgen -W "$( gph...'
/usr/share/bash-completion/completions/ifdown:3: command not found:
_userland
/usr/share/bash-completion/completions/ifstatus:3: command not found:
_userland
/usr/share/bash-completion/completions/ifup:3: command not found: _userland
/usr/share/bash-completion/completions/man:3: command not found: _userland
/usr/share/bash-completion/completions/mount:.:4: no such file or
directory: .linux
/usr/share/bash-completion/completions/mount.linux:83: parse error near `&'
/usr/share/bash-completion/completions/pkg-get:5: command not found: _have
/usr/share/bash-completion/completions/pkgrm:5: command not found: _have
/usr/share/bash-completion/completions/scp:195: command not found: shopt
/usr/share/bash-completion/completions/scp:254: command not found: shopt
/usr/share/bash-completion/completions/sftp:195: command not found: shopt
/usr/share/bash-completion/completions/sftp:254: command not found: shopt
/usr/share/bash-completion/completions/slogin:195: command not found: shopt
/usr/share/bash-completion/completions/slogin:254: command not found: shopt
/usr/share/bash-completion/completions/ssh:195: command not found: shopt
/usr/share/bash-completion/completions/ssh:254: command not found: shopt
/usr/share/bash-completion/completions/umount:.:4: no such file or
directory: .linux
/usr/share/bash-completion/completions/wget:26: parse error near `&'
/usr/share/bash-completion/completions/whatis:3: command not found:
_userland
/usr/share/bash-completion/completions/zeitgeist-daemon:8: command not
found: _have
11:57 ♒♒♒ ☹ => 127
--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel/attachments/20150528/b15fc0ce/attachment.sig>
More information about the Pkg-zsh-devel
mailing list