#defcomp bindkey if [[ -mword 1 -*[DAN]* || -mcurrent -1 -*M ]]; then complist -s '$(bindkey -l)' else complist -b fi