zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] Fix completion error about 'm' option of 'install' command
@ 2018-07-19  4:08 Yasuhiro KIMURA
  2018-07-19  5:02 ` Daniel Shahaf
  0 siblings, 1 reply; 5+ messages in thread
From: Yasuhiro KIMURA @ 2018-07-19  4:08 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-07-19  8:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-19  4:08 [PATCH] Fix completion error about 'm' option of 'install' command Yasuhiro KIMURA
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

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).