Merge branch 'develop' into features/completion-suggestions

This commit is contained in:
Eric Freese
2018-06-11 02:34:24 -06:00
10 changed files with 48 additions and 293 deletions

View File

@@ -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"] }