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..2b827a117
--- /dev/null
+++ b/Functions/Completion/_subscript
@@ -0,0 +1,4 @@
+#defcomp -subscript-
+
+_compalso -math- "$@"
+[[ ${(Pt)${COMMAND}} = assoc* ]] && complist -k "( ${(kP)${COMMAND}} )"