From: Yasuhiro KIMURA <yasu@utahime.org>
To: zsh-workers@zsh.org
Subject: [PATCH] Fix completion error about 'm' option of 'install' command
Date: Thu, 19 Jul 2018 13:08:17 +0900 (JST) [thread overview]
Message-ID: <20180719.130817.1715259769047885105.yasu@utahime.org> (raw)
Hello,
I found following error happens while completing 'm' option of
'install' command.
yasu@rolling-vm-freebsd1[2016]% install -m_arguments:463: command not found: _modes ~
And patch below fixes it.
diff --git a/Completion/Unix/Command/_install b/Completion/Unix/Command/_install
index f5056b5d0..4feb34ebf 100644
--- a/Completion/Unix/Command/_install
+++ b/Completion/Unix/Command/_install
@@ -11,7 +11,7 @@ common_args=(
'(-C -c --compare)-c[copy files (default)]'
'(-d --directory)'{-d,--directory}'[create directories]'
'(-g --group)'{-g+,--group=}'[specify destination file group]: :_groups'
- '(-m --mode)'{-m+,--mode=}'[specify destination file mode]: :_modes'
+ '(-m --mode)'{-m+,--mode=}'[specify destination file mode]: :_file_modes'
'(-o --owner)'{-o+,--owner=}'[specify destination file owner]: :_users'
'(-p --preserve-timestamps)'{-p,--preserve-timestamps}'[preserve modification times]'
'(-s --strip)'{-s,--strip}'[strip binaries]'
Best Regards.
PS. Please CC to me because I don't subscribe this ML.
---
Yasuhiro KIMURA
next reply other threads:[~2018-07-19 4:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-19 4:08 Yasuhiro KIMURA [this message]
2018-07-19 5:02 ` Daniel Shahaf
2018-07-19 5:43 ` Jun T
2018-07-19 7:40 ` dana
2018-07-19 8:00 ` 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=20180719.130817.1715259769047885105.yasu@utahime.org \
--to=yasu@utahime.org \
--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).