Skip to content

Commit

Permalink
Merge pull request #23 from yurkoy/master
Browse files Browse the repository at this point in the history
Use correct default logging path if @logging_path option is not specified
  • Loading branch information
bruno- authored Apr 1, 2018
2 parents f79e5ed + 46e100f commit 4852c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 4852c28

Please sign in to comment.