Added zsh-autosuggestions

This commit is contained in:
alex 2024-05-22 22:10:58 +02:00 committed by GitHub
commit de5609fd5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
53 changed files with 3307 additions and 0 deletions

View file

@ -0,0 +1,14 @@
describe 'a running zpty command' do
let(:before_sourcing) { -> { session.run_command('zmodload zsh/zpty && zpty -b kitty cat') } }
context 'when using `completion` strategy' do
let(:options) { ["ZSH_AUTOSUGGEST_STRATEGY=completion"] }
it 'is not affected' do
session.send_keys('a').send_keys('C-h')
session.run_command('zpty -t kitty; echo $?')
wait_for { session.content }.to end_with("\n0")
end
end
end