about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-05-31 14:29:30 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-05-31 14:29:30 +0000
commit84425f7d177da47cb2c9b0678392bc55f57acb8a (patch)
treedc1694299029318da5e6a6f4e60d9629a34e49ee
parent0b1d48472a69a672cbda8285a00253bd4458938a (diff)
downloadzsh-84425f7d177da47cb2c9b0678392bc55f57acb8a.tar.gz
zsh-84425f7d177da47cb2c9b0678392bc55f57acb8a.tar.xz
zsh-84425f7d177da47cb2c9b0678392bc55f57acb8a.zip
Mikael: 27981: complete (e) in subscript
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Zsh/Context/_subscript2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 78e331347..08579e187 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-31  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* Mikael: 27981: Completion/Zsh/Context/_subscript: complete
+	(e).
+
 2010-05-28  Peter Stephenson  <pws@csr.com>
 
 	* Mikael: 27980: Completion/Zsh/Type/_globquals: typo.
@@ -13173,5 +13178,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4985 $
+* $Revision: 1.4986 $
 *****************************************************
diff --git a/Completion/Zsh/Context/_subscript b/Completion/Zsh/Context/_subscript
index 39bdcedac..31da97e26 100644
--- a/Completion/Zsh/Context/_subscript
+++ b/Completion/Zsh/Context/_subscript
@@ -59,6 +59,7 @@ elif compset -P '\('; then
       '(r R k i I)K[all values where subscript matched by key as pattern]'
       '(r R k K I)i[any one key matched by subscript as pattern]'
       '(r R k K i)I[all keys matched by subscript as pattern]'
+      'e[interpret * or @ as a single key]'
     );;
     (|scalar*)) flags=(
       'w[make subscripting work on words of scalar]'
@@ -66,6 +67,7 @@ elif compset -P '\('; then
       'p[recognise escape sequences in subsequent s flag]'
     );&
     array*) flags=($flags
+      'e[interpret * or @ as a single key and use plain string matching]'
       'n[Nth lowest/highest index with i/I/r/R flag]'
       'b[begin with specified element]'
       '(r R k K i)I[highest index of value matched by subscript]'