1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-10 23:10:55 +01:00
zsh/Completion/Base/_subscript
1999-04-15 18:25:40 +00:00

7 lines
161 B
Text

#compdef -subscript-
if [[ ${(Pt)${compstate[parameter]}} = assoc* ]]; then
compgen -S ']' -k "( ${(kP)${compstate[parameter]}} )"
else
_compalso -math-
fi