From: Marc Aldorasi <m101010a@gmail.com>
To: zsh-workers@zsh.org
Subject: objdump completion should suggest more filenames
Date: Sun, 3 Sep 2017 15:36:24 -0400 [thread overview]
Message-ID: <CAL7CZKXgXGcY9GmLZpcr0COzjr0xnygbC00FAJuW6p6hg25SZQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 961 bytes --]
zsh will not complete filenames for objdump unless the last argument is a
single option. Instead, it will only autocomplete from the objdump options
list. For example:
objdump <tab> (no options listed) will only complete options
objdump -d <tab> (single option at end) will complete filenames, as expected
objdump -dC (multiple options at end) will only complete options
objdump -d -C <tab> (single option at end) will complete filenames, as
expected
objdump -d -dC (multiple options at end) will only complete options
objdump -dC -d <tab> (single option at end) will complete filenames, as
expected
objdump -d a.out <tab> (filename at end) will only complete options
objdump -d -- <tab> (option separator at end) will only complete options
zsh should instead allow filename completions anywhere in the command, and
shouldn't allow option completions after --
This happens with both zsh 5.4.2 on x86_64 linux and zsh 5.4.1 on aarch64
android linux.
next reply other threads:[~2017-09-03 19:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-03 19:36 Marc Aldorasi [this message]
2017-09-04 1:29 ` Marc Aldorasi
2017-09-04 8:37 ` Peter Stephenson
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=CAL7CZKXgXGcY9GmLZpcr0COzjr0xnygbC00FAJuW6p6hg25SZQ@mail.gmail.com \
--to=m101010a@gmail.com \
--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).