X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/9567c0145755a8997c8435ceea1189021d2abe30..4e5f7ffb64e3e06024312c9d859eeee5c4504dd1:/.zsh/zshrc/80_abbreviations diff --git a/.zsh/zshrc/80_abbreviations b/.zsh/zshrc/80_abbreviations index e517d6c..cae9274 100644 --- a/.zsh/zshrc/80_abbreviations +++ b/.zsh/zshrc/80_abbreviations @@ -18,7 +18,7 @@ abbreviations=( magic-abbrev-expand() { local MATCH - LBUFFER=${LBUFFER%%(#m)[_a-zA-Z0-9]#} + LBUFFER=${LBUFFER%%(#m)[-_a-zA-Z0-9]#} LBUFFER+=${abbreviations[$MATCH]:-$MATCH} zle self-insert }