mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-23 10:21:15 +01:00
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.
This commit is contained in:
parent
733abd4af0
commit
e7c7efe2e2
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue