mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-23 10:21:15 +01:00
Don't use -s
option to zmodload
It is not available in zsh versions older than 5.3
This commit is contained in:
parent
5529102afc
commit
c0315e96d8
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ _zsh_autosuggest_capture_buffer() {
|
|||
}
|
||||
|
||||
_zsh_autosuggest_capture_completion() {
|
||||
zmodload -s zsh/zpty || return
|
||||
zmodload zsh/zpty 2>/dev/null || return
|
||||
|
||||
typeset -g completion
|
||||
local line REPLY
|
||||
|
|
|
@ -557,7 +557,7 @@ _zsh_autosuggest_capture_buffer() {
|
|||
}
|
||||
|
||||
_zsh_autosuggest_capture_completion() {
|
||||
zmodload -s zsh/zpty || return
|
||||
zmodload zsh/zpty 2>/dev/null || return
|
||||
|
||||
typeset -g completion
|
||||
local line REPLY
|
||||
|
|
Loading…
Reference in a new issue