about summary refs log tree commit diff
path: root/Functions/Completion/__subscript
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Completion/__subscript')
-rw-r--r--Functions/Completion/__subscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/Functions/Completion/__subscript b/Functions/Completion/__subscript
new file mode 100644
index 000000000..a10b1202b
--- /dev/null
+++ b/Functions/Completion/__subscript
@@ -0,0 +1,4 @@
+#function --subscript--
+
+compalso --math-- "$@"
+[[ ${(Pt)${COMMAND}} = assoc* ]] && complist -k "( ${(kP)${COMMAND}} )"