Commit Graph

3 Commits (50e6832b8c5f5b3aff9da8f7aaf5a0b836f27368)

Author SHA1 Message Date
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.
9 years ago
Eric Freese 8e06a54b1c Add test for string with "\n" in it 9 years ago
Eric Freese c22ab0e399 Implement suggestion integration tests in RSpec + tmux 9 years ago