tmux-zen icon indicating copy to clipboard operation
tmux-zen copied to clipboard

Add configurable tmux config location

Open maksyms opened this issue 4 years ago • 2 comments

Usually and normally, the config for tmux lives in ~/.tmux.conf. However, in some cases, it lives in other places. tmux has a -f option to specify the location of such a configuration file.

This change provides the ability to configure the new tmux-conf setting for tmux-zen plugin to use the specified configuration.

maksyms avatar Nov 19 '20 19:11 maksyms

Just realized an issue with this (I think): if no config file is present, this might not work.

maksyms avatar Nov 19 '20 19:11 maksyms

Just realized an issue with this (I think): if no config file is present, this might not work.

Actually, it does work, just complains that the default tmux config file doesn't exist. I struggle to see how anyone would use tmux without their custom config, so some config file is very likely to be present.

maksyms avatar Nov 19 '20 19:11 maksyms