Mercurial > dotfiles
view .zfun/zsh-autosuggestions/src/util.zsh @ 489:29680270d3fd
hg: drop ll alias that I haven't used in years
It ends up breaking some work config stuff and I may as well dump this.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 30 Jun 2020 10:44:34 -0400 |
parents | e1ce8897030d |
children |
line wrap: on
line source
#--------------------------------------------------------------------# # Utility Functions # #--------------------------------------------------------------------# _zsh_autosuggest_escape_command() { setopt localoptions EXTENDED_GLOB # Escape special chars in the string (requires EXTENDED_GLOB) echo -E "${1//(#m)[\"\'\\()\[\]|*?~]/\\$MATCH}" }