What are hstr options to maintain history per tmux panel when used with Oh My Zsh?
faxotherapy opened this issue · 2 comments
faxotherapy commented
Hi,
I use tmux with Oh My Zsh and have activated history per panel; each panel has its own command history. Unfortunately, hstr does not seem to take account of that config.
Related entries in my .zshrc file contains:
# Disable shared history
unsetopt share_history
# HSTR
export HSTR_CONFIG=hicolor
export HISTFILE=~/.zsh_historyWhat should I use for export HISTFILE then?
Thank you.
dvorka commented
@faxotherapy can you please try to use full path instead of ~:
export HISTFILE=/home/user/.zsh_history
Each panel then should have this property set to it's own command history file.
If the history is kept in the memory only an not persisted to a file, then hstr cannot be used
faxotherapy commented
Thank you for your suggestion. Using the full path doesn't seem to work either. I'm on MacOS though.