tmux-plugins / tmux-logging

Easy logging and screen capturing for Tmux.
MIT License
1.05k stars 114 forks source link

Default logging path #32

Closed altjx closed 3 years ago

altjx commented 5 years ago

Is there a way to reconfigure the default logging path from $HOME to the current directory that the pane is in?

laggardkernel commented 5 years ago

Reading from scripts/variables.sh, logging path could be customized with

set -g @logging-path "~/.tmux"
KrE80r commented 5 years ago

Adding the below to .tmux.conf should work

set -g @logging-path '#{pane_current_path}'