Does anyone have a good solution for handling bash history?
What (I think) I want:
- History search for each shell searches the history of that shell first, then all other shells' history.
- I don't want to lose history from windows opened in tmux or when I'm running a bunch of shells in parallel.
What I don't care about:
- Syncing history
- Fuzzy search
What I don't want:
- Mandatory full-screen history search
Note: I will eventually try `fish` or `zsh`, but my schedule and to-do list don't currently permit me to rework all my [dotfiles](https://github.com/pganssle/dotfiles) to work with a new shell.
@pganssle have you tried using `fzf` https://github.com/junegunn/fzf which has bash bindings to override the default ctrl-r, although not sure if it achieves the "history merging"
@pganssle I've been trying out https://github.com/asmeurer/dotfiles/blob/d2de8eb27b38be76c8469d32682d793b8e195a87/.profile#L76 for separate histories per shell. Should work well if you maintain the same terminal tab configuration.
I've tried `atuin` so far, and I don't like it. I think I can only use it with the full screen history search and somehow despite the fact that it's automatically merging commands from all shells, it still loses commands, sometimes *from the shell I'm currently using*.