mirror of
				https://github.com/zsh-users/zsh-autosuggestions.git
				synced 2024-05-11 05:54:57 +00:00 
			
		
		
		
	Need to prevent zpty feature detection from HUPing existing zptys
This commit is contained in:
		@@ -122,7 +122,7 @@ _zsh_autosuggest_feature_detect() {
 | 
			
		||||
	typeset -g _ZSH_AUTOSUGGEST_ZPTY_RETURNS_FD
 | 
			
		||||
	typeset -h REPLY
 | 
			
		||||
 | 
			
		||||
	zpty $ZSH_AUTOSUGGEST_ASYNC_PTY_NAME :
 | 
			
		||||
	zpty $ZSH_AUTOSUGGEST_ASYNC_PTY_NAME '{ zshexit() { kill -KILL $$; sleep 1 } }'
 | 
			
		||||
 | 
			
		||||
	if (( REPLY )); then
 | 
			
		||||
		_ZSH_AUTOSUGGEST_ZPTY_RETURNS_FD=1
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user