mirror of
https://github.com/tmux-plugins/tmux-continuum.git
synced 2024-11-22 03:08:48 +00:00
More bugfixing
This commit is contained in:
parent
7d2dc62a0c
commit
1588471ed0
@ -8,6 +8,10 @@ source "$CURRENT_DIR/scripts/shared.sh"
|
|||||||
|
|
||||||
save_command_interpolation="#($CURRENT_DIR/scripts/resurrect_auto_save.sh)"
|
save_command_interpolation="#($CURRENT_DIR/scripts/resurrect_auto_save.sh)"
|
||||||
|
|
||||||
|
supported_tmux_version_ok() {
|
||||||
|
$CURRENT_DIR/scripts/check_tmux_version.sh "$SUPPORTED_VERSION"
|
||||||
|
}
|
||||||
|
|
||||||
add_resurrect_save_interpolation() {
|
add_resurrect_save_interpolation() {
|
||||||
local status_right_value="$(get_tmux_option "status-right" "")"
|
local status_right_value="$(get_tmux_option "status-right" "")"
|
||||||
local new_value="${save_command_interpolation}${status_right_value}"
|
local new_value="${save_command_interpolation}${status_right_value}"
|
||||||
|
@ -6,6 +6,10 @@ source "$CURRENT_DIR/helpers.sh"
|
|||||||
source "$CURRENT_DIR/variables.sh"
|
source "$CURRENT_DIR/variables.sh"
|
||||||
source "$CURRENT_DIR/shared.sh"
|
source "$CURRENT_DIR/shared.sh"
|
||||||
|
|
||||||
|
supported_tmux_version_ok() {
|
||||||
|
$CURRENT_DIR/check_tmux_version.sh "$SUPPORTED_VERSION"
|
||||||
|
}
|
||||||
|
|
||||||
get_interval() {
|
get_interval() {
|
||||||
get_tmux_option "$auto_save_interval_option" "$auto_save_interval_default"
|
get_tmux_option "$auto_save_interval_option" "$auto_save_interval_default"
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,3 @@ current_timestamp() {
|
|||||||
set_last_save_timestamp() {
|
set_last_save_timestamp() {
|
||||||
set_tmux_option "$last_auto_save_option" "$(current_timestamp)"
|
set_tmux_option "$last_auto_save_option" "$(current_timestamp)"
|
||||||
}
|
}
|
||||||
|
|
||||||
supported_tmux_version_ok() {
|
|
||||||
$CURRENT_DIR/check_tmux_version.sh "$SUPPORTED_VERSION"
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user