Commit Graph

56 Commits (1912726460f2ef48ecba6fd2bc56287cb1a55c50)

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.
8 years ago
Eric Freese 8e06a54b1c Add test for string with "\n" in it 8 years ago
Eric Freese debbffc79a Add rspec test around accepting suggestions 9 years ago
Eric Freese c22ab0e399 Implement suggestion integration tests in RSpec + tmux 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