X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/db0685696dd8984cc80cbc65fd54dccf504ea75a..bc7e3da7bae02125450f495af9ac03b6675aaf41:/.zsh/zshrc/80_abbreviations?ds=sidebyside 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 }