Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
objdump completion should suggest more filenames
- X-seq: zsh-workers 41636
- From: Marc Aldorasi <m101010a@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: objdump completion should suggest more filenames
- Date: Sun, 3 Sep 2017 15:36:24 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PDE2AKC4odIjOhIuPnGeafyO1uJI+XTHqYHL5M9pFKA=; b=rr9CTApgBkeRmw3Yep84ar3qr7iayHgSx9l24b3Z4076g8b66e01emCdhtvL06Vm3N ldr+CRJwOKHRS0nE6tWscPmruyUujCRrKTQIPlL0rzmyz+PhIIeIKko2ja23WQt4DEjQ UxvAzMB1x3sOho6fqXvrtUr4i4I1Z0EtQxB7SQTGIkgHvVu7nWN/t0Vtu5HVmyu0BKKI bS9PIQUegsZT8BbObNL81TzWYtBIH9ibaPrjsOP7Kv8KaLLxup0352WGgyBZ11O0C/ch VKX4ZNZrBNdpUg+bME07x4WeUA02oDaKsNK73Ggi//xC+v6OI0d8fkKuJQc8a8WFZY6+ QLSg==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author