mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Refactor to remove prev cmd function and simplify escaping
This commit is contained in:
parent
c5f57da2b8
commit
011d8bdfd1
6 changed files with 20 additions and 48 deletions
|
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
|
||||
_zsh_autosuggest_strategy_default() {
|
||||
local prefix="$(_zsh_autosuggest_escape_command "$1")"
|
||||
local prefix="$1"
|
||||
|
||||
# Get the keys of the history items that match
|
||||
local -a histkeys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue