2 typeset -Ag abbreviations
7 # WC is the alias for working tree for the --git-export option
11 'HL' ' --help |& less -r'
21 magic-abbrev-expand() {
23 LBUFFER=${LBUFFER%%(#m)[-_a-zA-Z0-9]#}
24 LBUFFER+=${abbreviations[$MATCH]:-$MATCH}
28 no-magic-abbrev-expand() {
32 zle -N magic-abbrev-expand
33 zle -N no-magic-abbrev-expand
34 bindkey " " magic-abbrev-expand
35 bindkey "^x " no-magic-abbrev-expand
36 bindkey -M isearch " " self-insert