More bugfixing

This commit is contained in:
Bruno Sutic 2015-02-12 15:52:10 +01:00
parent 7d2dc62a0c
commit 1588471ed0
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
3 changed files with 8 additions and 4 deletions

View File

@ -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}"

View File

@ -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"
} }

View File

@ -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"
}