Skip to content

better handling of plugin path when listing plugins in main menu #62

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

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

jaclu
Copy link
Owner

@jaclu jaclu commented Apr 9, 2025

First checks if TMUX_PLUGIN_MANAGER_PATH is defined (normally defined by tpm)
If not set check if XDG_CONFIG_HOME is defined. If it is search for a folder ending in tmux-menus in this file tree, if found use the parent folder.

If the plugin-path is not found, display an error message suggesting to set TMUX_PLUGIN_MANAGER_PATH to point to the location of plugins in tmux conf

This can be done even if tpm is not used.

@jaclu jaclu merged commit b8341b8 into main Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant