Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
owenstake opened this issue Jan 5, 2024 · 5 comments
Closed

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

owenstake opened this issue Jan 5, 2024 · 5 comments

Comments

@owenstake
Copy link

owenstake commented Jan 5, 2024

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
Copy link
Owner

gpakosz commented Jan 5, 2024

Hello @owenstake,

Place line in this section of your .local customization file

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

@owenstake
Copy link
Author

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
Copy link
Author

owenstake commented Jan 5, 2024

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
Copy link
Owner

gpakosz commented Jan 5, 2024

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

@gpakosz
Copy link
Owner

gpakosz commented Jan 30, 2024

Duplicate of #671

@gpakosz gpakosz marked this as a duplicate of #671 Jan 30, 2024
@gpakosz gpakosz closed this as completed Jan 30, 2024
@gpakosz gpakosz added the tpm label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants