This commit is contained in:
Stanislav Seletskiy 2016-04-20 21:09:23 +00:00
commit 0a170f5479
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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