momo-lab / zsh-abbrev-alias

This zsh plugin provides functionality similar to Vim's abbreviation expansion.
MIT License
119 stars 14 forks source link

fix aliases with special chars #10

Closed infokiller closed 4 years ago

infokiller commented 4 years ago

Now valid zsh aliases with dots and hashes work, for example alias 'a#b'='ls' should work. Also fix global alias expansion when there's a quote or parenthesis before the alias name. For example, if using alias -g L='| less', the alias would get expanded when the command line is '(L'.

momo-lab commented 4 years ago

It didn't work, so I fixed it. Plrease show #13 .