summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-24 07:17:33 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-29 06:41:22 +0000
commit3a83e481ab6d9a250978ba0103c96f167407733a (patch)
tree45519d597dd1805712a07beab235a2119f959d48
parenta74294edbeb1c0cf9b48e6414559f57ad76dc017 (diff)
downloadzsh-3a83e481ab6d9a250978ba0103c96f167407733a.tar.gz
zsh-3a83e481ab6d9a250978ba0103c96f167407733a.zip
unposted: Complete the $foo[(f)] flag.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Zsh/Context/_subscript1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index be0570778..655516d04 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2016-11-29 Daniel Shahaf <d.s@daniel.shahaf.name>
+ * unposted: Completion/Zsh/Context/_subscript: Complete the
+ $foo[(f)] flag.
+
* unposted: Completion/Unix/Command/_git: _git-config: Fix
user.email completion to complete only bare email addresses.
diff --git a/Completion/Zsh/Context/_subscript b/Completion/Zsh/Context/_subscript
index 88813b54f..0c9a89ad5 100644
--- a/Completion/Zsh/Context/_subscript
+++ b/Completion/Zsh/Context/_subscript
@@ -62,6 +62,7 @@ elif compset -P '\('; then
'e[interpret * or @ as a single key]'
);;
(|scalar*)) flags=(
+ 'f[make subscripting work on lines of scalar]'
'w[make subscripting work on words of scalar]'
's[specify word separator]'
'p[recognise escape sequences in subsequent s flag]'