mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Add spec for completion strategy
This commit is contained in:
parent
7d19f8f9b2
commit
973205005c
4 changed files with 39 additions and 3 deletions
|
|
@ -9,7 +9,10 @@
|
|||
_zsh_autosuggest_capture_setup() {
|
||||
zmodload zsh/zutil # For `zparseopts`
|
||||
|
||||
autoload compinit && compinit
|
||||
# Ensure completions have been initialized
|
||||
if ! whence compdef >/dev/null; then
|
||||
autoload -Uz compinit && compinit
|
||||
fi
|
||||
|
||||
# There is a bug in zpty module (fixed in zsh/master) by which a
|
||||
# zpty that exits will kill all zpty processes that were forked
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue