From 46e100fc2db84e2ef7a6414a714a76ba0565eb7d Mon Sep 17 00:00:00 2001 From: Yuriy Yashchenko Date: Sat, 31 Mar 2018 23:07:43 +0200 Subject: [PATCH] Use correct default logging path if @logging_path option is not specified --- scripts/variables.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/variables.sh b/scripts/variables.sh index 2893233..a27c24f 100644 --- a/scripts/variables.sh +++ b/scripts/variables.sh @@ -24,7 +24,7 @@ filename_suffix="#{session_name}-#{window_index}-#{pane_index}-%Y%m%dT%H%M%S.log # Logging options default_logging_path="$HOME" logging_path=$(tmux show-option -gqv "@logging-path") -logging_path=${logging_path:-$default_clear_history_key} +logging_path=${logging_path:-$default_logging_path} default_logging_filename="tmux-${filename_suffix}" logging_filename=$(tmux show-option -gqv "@logging-filename")