mirror of
				https://github.com/zsh-users/zsh-autosuggestions.git
				synced 2024-05-11 05:54:57 +00:00 
			
		
		
		
	Merge branch 'develop' into features/completion-suggestions
This commit is contained in:
		@@ -1,15 +1,6 @@
 | 
			
		||||
describe 'a running zpty command' do
 | 
			
		||||
  let(:before_sourcing) { -> { session.run_command('zmodload zsh/zpty && zpty -b kitty cat') } }
 | 
			
		||||
 | 
			
		||||
  context 'when sourcing the plugin' do
 | 
			
		||||
    it 'is not affected' do
 | 
			
		||||
      sleep 1 # Give a little time for precmd hooks to run
 | 
			
		||||
      session.run_command('zpty -t kitty; echo $?')
 | 
			
		||||
 | 
			
		||||
      wait_for { session.content }.to end_with("\n0")
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  context 'when using `completion` strategy' do
 | 
			
		||||
    let(:options) { ["ZSH_AUTOSUGGEST_STRATEGY=completion"] }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user