cantino / mcfly

Fly through your shell history. Great Scott!
MIT License
6.87k stars 177 forks source link

History lost after using mcfly #120

Closed utdrmac closed 3 years ago

utdrmac commented 3 years ago

Repeatable:

  1. Open iTerm2
  2. Run some command (cd, less, etc)
  3. press up arrow to go back through history as far as you want.
  4. ctrl-r to open mcfly
  5. search for something. press tab exit mcfly with command on cli
  6. execute, or ctrl-c the line
  7. press up arrow to scroll back through history
  8. bell dings because history is gone. cannot up arrow.

$ bash --version GNU bash, version 5.0.11(1)-release (x86_64-apple-darwin18.6.0)

$ mcfly --version McFly 0.5.2

cantino commented 3 years ago

Thanks @utdrmac! Could you try 0.5.3?

utdrmac commented 3 years ago

@cantino

$ brew upgrade mcfly
Warning: cantino/mcfly/mcfly v0.5.2 already installed
cantino commented 3 years ago

Did you do brew update first?

utdrmac commented 3 years ago

Seems not. Thought that was automatic. I have 0.5.3 now. Seems to be fixed. Thanks!

cantino commented 3 years ago

Awesome, I'm glad it's fixed! I thought brew did that too— odd.