aziz/tmuxinator — pull request #81 by kmowery (2012-10-14 02:41:01+00:00)
Title: Optionally persist per-shell history across tmux sessions

Adds a new configuration option "save_history", which enables storing per-shell history in root_dir.

This is accomplished by setting HISTFILE to special values in tmux_config.mux. When possible, filenames are taken from tab names. New shells created in the tmux session will use the standard history file (.bash_history by default), since I don't think tmuxinator can affect those shells.

I've tested on bash; it should work on zsh. Presumably, though, zsh users will be less interested, since it supports shared history far better than bash.

Input on style/correctness welcome.