gpakosz / .tmux

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
MIT License
21.54k stars 3.33k forks source link

How to source file in tmux.conf.local #702

Closed owenstake closed 5 months ago

owenstake commented 6 months ago

I want to source extra config file in tmux.conf.local . I have try add the following line at the end of tmux.conf.local, but it failed.

source ~/xx/xx/tmux.conf

How to achieve this goal?

gpakosz commented 6 months ago

Hello @owenstake,

Place line in this section of your .local customization file

# -- user customizations -------------------------------------------------------
owenstake commented 6 months ago

Hello @owenstake,

Place line in this section of your .local customization file

# -- user customizations -------------------------------------------------------

It not works. I always add this source line at the end of .tmux.conf.local . The sourced file has a lot of configuration about shortcut and plugin.

owenstake commented 6 months ago

Hello @owenstake, Place line in this section of your .local customization file

# -- user customizations -------------------------------------------------------

It not works. I always add this source line at the end of .tmux.conf.local . The sourced file has a lot of configuration about shortcut and plugin.

plugin is not take effective in my soured file.

    set -g @plugin 'tmux-plugins/tmux-sensible'
    set -g @plugin 'tmux-plugins/tmux-resurrect'     # save session
gpakosz commented 6 months ago

Specifying plugins for anywhere else than the .local customization file itself is not supported

gpakosz commented 5 months ago

Duplicate of #671