mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Add feature detection
Checks whether `zpty` gives a file descriptor, which was not the case in
older versions of zsh.
Based on a4b2f81c96/async.zsh (L395-L401)
This commit is contained in:
parent
3f57198d07
commit
78ba07179a
4 changed files with 41 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
_zsh_autosuggest_start() {
|
||||
add-zsh-hook -d precmd _zsh_autosuggest_start
|
||||
|
||||
_zsh_autosuggest_feature_detect
|
||||
_zsh_autosuggest_check_deprecated_config
|
||||
_zsh_autosuggest_bind_widgets
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue