summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-06-03 20:53:16 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-06-03 20:53:16 +0000
commite468775400a345dbe0acc4e68891bae5127e6f98 (patch)
tree99513151b2b0ff12eb23badce6b45142ae115dcb
parent0bff0b356ca7050280ebe02a588d74a95c7e7f5c (diff)
downloadzsh-e468775400a345dbe0acc4e68891bae5127e6f98.tar.gz
zsh-e468775400a345dbe0acc4e68891bae5127e6f98.zip
29448: complete symlinks to files in _initctl too
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_initctl2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index eae0213a2..332bcdb20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
* 29438: Completion/Zsh/Context/_subscript: adjust pattern so
we complete dynamic directory names in command position as well.
+ * 29448: Completion/Unix/Command/_initctl: complete symlinks
+ to files too.
+
2011-06-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 29413: Doc/Zsh/builtins.yo, Src/builtin.c, Src/hist.c: print
@@ -14936,5 +14939,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5357 $
+* $Revision: 1.5358 $
*****************************************************
diff --git a/Completion/Unix/Command/_initctl b/Completion/Unix/Command/_initctl
index 11bd59b50..6505e4298 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