summary refs log tree commit diff
path: root/Functions/Completion/__bindkey
blob: c9005347a5815194d40082a31eef374c7460ef87 (plain) (blame)
1
2
3
4
5
6
7
#function bindkey

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