Commit Graph

10 Commits (e937e89267afa1110b99e2fab0a4c42c2ea6dda7)

Author SHA1 Message Date
Eric Freese 41657e3565 Revert async process substitution & completion strategy
They're not quite ready. Keep them on a feature branch for now.
Eric Freese d7171232c3 Merge branch 'develop' into features/completion-suggestions
Eric Freese 973205005c Add spec for `completion` strategy
Eric Freese 7d19f8f9b2 Rename default spec to history spec
Eric Freese 9e110406fa Add test for special characters with match_prev_cmd strategy
Github  and 
Eric Freese ed8056c5e8 Lots of async changes
Eric Freese c3425870f1 Wait for the terminal.clear to go through before continuing
Prevents some flakiness in tests
Eric Freese 0305908adf Revert `fc` usage in calculating suggestion
As far as I know, `fc` makes it impossible to tell whether history items
used an actual newline character or the string "\n". Pulling from the
`$history` array gives a more accurate representation of the actual
command that was run.
Eric Freese 8e06a54b1c Add test for string with "\n" in it
Eric Freese c22ab0e399 Implement suggestion integration tests in RSpec + tmux