Mercurial > dotfiles
comparison .zfun/zsh-autosuggestions/spec/integrations/client_zpty_spec.rb @ 467:e1ce8897030d
zsh: import df6f6f9ff41 of zsh-autosuggestions
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 03 Dec 2018 22:37:29 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
466:f248cf012d9a | 467:e1ce8897030d |
---|---|
1 describe 'a running zpty command' do | |
2 let(:before_sourcing) { -> { session.run_command('zmodload zsh/zpty && zpty -b kitty cat') } } | |
3 | |
4 it 'is not affected by running zsh-autosuggestions' do | |
5 sleep 1 # Give a little time for precmd hooks to run | |
6 session.run_command('zpty -t kitty; echo $?') | |
7 | |
8 wait_for { session.content }.to end_with("\n0") | |
9 end | |
10 end |