Skip to content

Failed to change the default logging path in .tmux.conf #62

Open
@xiangjjj

Description

@xiangjjj

I tried to change the default logging path as the logs are output to $HOME instead of $HOME/.tmux.

setw -g mode-keys vi

# smart pane switching with awareness of vim splits
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R


# set logging history limit
set -g history-limit 50000

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-logging'


# config tmux-logging plugin
set -g @logging-path "$HOME/.tmux"

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

  • I did source the new conf tmux source ~/.tmux.conf
  • tmux version: 2.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions