* PATCH: _initctl: Also complete symlinks to files
@ 2011-06-03 19:10 Mikael Magnusson
2011-06-03 19:26 ` Marc Weber
0 siblings, 1 reply; 2+ messages in thread
From: Mikael Magnusson @ 2011-06-03 19:10 UTC (permalink / raw)
To: zsh-workers
Noticed by MarcWeber on irc.
---
Completion/Unix/Command/_initctl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Completion/Unix/Command/_initctl b/Completion/Unix/Command/_initctl
index 11bd59b..6505e42 100644
--- a/Completion/Unix/Command/_initctl
+++ b/Completion/Unix/Command/_initctl
@@ -37,7 +37,7 @@ _initctl_fillarray_events_args ()
# list all upstart jobs, i.e. all files in /etc/init/
_initctl_helper_jobs()
{
- _path_files -W "/etc/init/" -g "*.conf(.:r)"
+ _path_files -W "/etc/init/" -g "*.conf(-.:r)"
}
# list events, generate array if necessary
--
1.7.4-rc1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: _initctl: Also complete symlinks to files
2011-06-03 19:10 PATCH: _initctl: Also complete symlinks to files Mikael Magnusson
@ 2011-06-03 19:26 ` Marc Weber
0 siblings, 0 replies; 2+ messages in thread
From: Marc Weber @ 2011-06-03 19:26 UTC (permalink / raw)
To: zsh-workers
The previous thread introducing that completion code was sent about one
week ago and was labeled:
"zsh completion for upstart commands initctl start stop restart reload"
without - symlinks in /etc/init are missed.
Thanks to Mikachu on irc - I would never ever have figured this out myself.
Marc Weber
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-03 19:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-03 19:10 PATCH: _initctl: Also complete symlinks to files Mikael Magnusson
2011-06-03 19:26 ` Marc Weber
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).