This commit is contained in:
Christian Nieves
2022-07-28 17:35:07 +00:00
parent 106881fa6d
commit ea31968675
278 changed files with 48549 additions and 2 deletions

View File

@ -0,0 +1,11 @@
#--------------------------------------------------------------------#
# Utility Functions #
#--------------------------------------------------------------------#
_zsh_autosuggest_escape_command() {
setopt localoptions EXTENDED_GLOB
# Escape special chars in the string (requires EXTENDED_GLOB)
echo -E "${1//(#m)[\"\'\\()\[\]|*?~]/\\$MATCH}"
}