tmux-resurrect icon indicating copy to clipboard operation
tmux-resurrect copied to clipboard

Restore sets all panes and windows Shell to the very last one used

Open vim345 opened this issue 2 years ago • 0 comments

I have a lot of panes and windows and each of them is on a different directory with its own zsh history, as I have set the nosharehistory optioin in ZSH. After restoring my session, all panes and windows were set to the last current directory and they all contained identical history.

I wonder how I can save and restore zsh sessions per pane and window as well? I tried set -g @resurrect-capture-pane-contents 'on', but it didn't work.

Based on what I saw in the screencast, the default behavior is to restore all shell sessions. But I'm not too sure if they were using bash or zsh or if they have shared history between panes and windows.

vim345 avatar Aug 01 '22 23:08 vim345