Merge 58c9390e38 into 87facd9b85
This commit is contained in:
commit
0a170f5479
|
|
@ -17,7 +17,7 @@ _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}"
|
||||
}
|
||||
|
||||
# Get the previously executed command
|
||||
|
|
|
|||
|
|
@ -339,7 +339,7 @@ _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}"
|
||||
}
|
||||
|
||||
# Get the previously executed command
|
||||
|
|
|
|||
Loading…
Reference in New Issue