mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2025-09-02 04:26:59 +00:00
Symlink 'last' file at the end of successful save
This commit is contained in:
@ -259,7 +259,6 @@ save_all() {
|
||||
dump_panes >> "$resurrect_file_path"
|
||||
dump_windows >> "$resurrect_file_path"
|
||||
dump_state >> "$resurrect_file_path"
|
||||
ln -fs "$(basename "$resurrect_file_path")" "$(last_resurrect_file)"
|
||||
if capture_pane_contents_option_on; then
|
||||
mkdir -p "$(pane_contents_dir)"
|
||||
dump_pane_contents
|
||||
@ -269,6 +268,7 @@ save_all() {
|
||||
if save_bash_history_option_on; then
|
||||
dump_bash_history
|
||||
fi
|
||||
ln -fs "$(basename "$resurrect_file_path")" "$(last_resurrect_file)"
|
||||
}
|
||||
|
||||
show_output() {
|
||||
|
Reference in New Issue
Block a user