mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-22 15:52:31 +01:00
Fix various bugs found while testing
This commit is contained in:
parent
e5cdbb6c33
commit
a314a01a6a
6 changed files with 30 additions and 28 deletions
|
|
@ -20,7 +20,7 @@ _zsh_autosuggest_escape_command() {
|
|||
echo -E "${1//(#m)[\\()\[\]|*?]/\\$MATCH}"
|
||||
}
|
||||
|
||||
# Get the previously executed command (hookable for testing)
|
||||
# Get the previously executed command
|
||||
_zsh_autosuggest_prev_command() {
|
||||
echo -E "${history[$((HISTCMD-1))]}"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue