about summary refs log tree commit diff
path: root/Functions/Completion/_bindkey
blob: 8eddeb2a80b0eed9c2fcfdaf1672c0cc4f096ebd (plain) (blame)
1
2
3
4
5
6
7
#defcomp bindkey

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