Set options immediately after sourcing the plugin before next precmd

So that you can access defaults to e.g. add elements to an existing
array.
pull/433/head
Eric Freese 6 years ago
parent 733abd4af0
commit e7c7efe2e2

@ -11,8 +11,7 @@ RSpec.shared_context 'terminal session' do
around do |example|
before_sourcing.call
session.run_command(options.join('; '))
session.run_command('source zsh-autosuggestions.zsh')
session.run_command(['source zsh-autosuggestions.zsh', *options].join('; '))
after_sourcing.call
session.clear_screen

Loading…
Cancel
Save