zsh-workers
 help / color / mirror / code / Atom feed
From: Ko Stoffelen <k.stoffelen@cs.ru.nl>
To: zsh-workers@zsh.org
Subject: [BUG] _dmidecode and _adb completion
Date: Thu, 16 Mar 2017 10:21:29 +0100	[thread overview]
Message-ID: <44a56374-23e4-671d-6d45-6c0e0104a2e6@cs.ru.nl> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 681 bytes --]

Hi,

I'm using zsh 5.3.1 and dmidecode 3.0. If I press tab after entering
"sudo dmidecode " or "dmidecode ", the following error message is displayed:

_arguments:comparguments:319: invalid rest argument definition: *(-s
--string --dump-bin)-t+[only display entries of specified type]:entry
type:(bios system baseboard chassis processor memory cache connector slot)

The same happens after "dmidecode -s ".

Second, I noticed that by simply typing "adb " and pressing tab, adb is
already executed and the daemon starts running if it did not before.
This does not seem like desired behaviour. I'd prefer my program to only
execute after I've pressed the enter key.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 862 bytes --]

             reply	other threads:[~2017-03-16  9:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16  9:21 Ko Stoffelen [this message]
2017-03-16 10:43 ` Daniel Shahaf
2017-03-16 20:48   ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44a56374-23e4-671d-6d45-6c0e0104a2e6@cs.ru.nl \
    --to=k.stoffelen@cs.ru.nl \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).