From 84425f7d177da47cb2c9b0678392bc55f57acb8a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 31 May 2010 14:29:30 +0000 Subject: Mikael: 27981: complete (e) in subscript --- Completion/Zsh/Context/_subscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Completion') 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]' -- cgit 1.4.1