Skip to content

Commit 4852c28

Browse files
authored
Merge pull request #23 from yurkoy/master
Use correct default logging path if @logging_path option is not specified
2 parents f79e5ed + 46e100f commit 4852c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/variables.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ filename_suffix="#{session_name}-#{window_index}-#{pane_index}-%Y%m%dT%H%M%S.log
2424
# Logging options
2525
default_logging_path="$HOME"
2626
logging_path=$(tmux show-option -gqv "@logging-path")
27-
logging_path=${logging_path:-$default_clear_history_key}
27+
logging_path=${logging_path:-$default_logging_path}
2828

2929
default_logging_filename="tmux-${filename_suffix}"
3030
logging_filename=$(tmux show-option -gqv "@logging-filename")

0 commit comments

Comments
 (0)