tmux: Update tmux-resurrect
With commit dd36a4561b0b ("use XDG_DATA_HOME for resurrect-dir path")
the default location of resurrect-dir changed to
$XDG_DATA_HOME/tmux/resurrect as long as $HOME/.tmux does not exist.
This makes manually hard-coding resurrect-dir obsolete.
This commit is contained in:
@@ -208,9 +208,6 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
|
|||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
set -g @plugin 'vim-tmux-navigator'
|
set -g @plugin 'vim-tmux-navigator'
|
||||||
|
|
||||||
# XDG compliance
|
|
||||||
# NOTE: Does not support environment variables except for HOME and HOSTNAME
|
|
||||||
set -g @resurrect-dir "$HOME/.local/share/tmux/resurrect"
|
|
||||||
# Capture pane content
|
# Capture pane content
|
||||||
set -g @resurrect-capture-pane-contents 'on'
|
set -g @resurrect-capture-pane-contents 'on'
|
||||||
# Change keybindings
|
# Change keybindings
|
||||||
|
|||||||
Reference in New Issue
Block a user