mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-13 18:50:40 +01:00
@@ -17,5 +17,5 @@ _zsh_autosuggest_escape_command() {
|
||||
setopt localoptions EXTENDED_GLOB
|
||||
|
||||
# Escape special chars in the string (requires EXTENDED_GLOB)
|
||||
echo -E "${1//(#m)[\\()\[\]|*?]/\\$MATCH}"
|
||||
echo -E "${1//(#m)[\\()\[\]|*?~]/\\$MATCH}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user