Commit Graph

8 Commits (v0.7.1)

Author SHA1 Message Date
Eric Freese e715ffb1ae Rewrite `with_history` test helper to be more robust
Write mock history to a temp file and load it directly with `fc -R`
instead of running each command individually to build up the history.
5 years ago
Eric Freese e7c7efe2e2 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.
6 years ago
Eric Nielsen 9e4d3c337f Don't overwrite config with default values
otherwise users are obliged to set the config values *after* sourcing
the plugin. They're not able to do it before. Also, re-sourcing the
plugin will reset the values to the defaults again.

See zimfw/zimfw#301

Fixes #335
7 years ago
Eric Freese f0f1332e6b Add `after_sourcing` hook for tests
Is executed immediately after sourcing the plugin
7 years ago
Eric Freese ed8056c5e8 Lots of async changes 8 years ago
Eric Freese 89dd69d517 Add pry gem for debugging support 9 years ago
Eric Freese 07a6768fcb Add TerminalSession helper for managing a tmux session 9 years ago
Eric Freese e6591d5de0 Add RSpec for high-level integration testing 9 years ago