Local plugins?
heraldofsolace opened this issue · comments
Is it possible to load a plugin from a local directory? Something like set -g @plugin '~/foo/bar/
. I'm developing a plugin and I'd like to load it from a local directory and not having to push to GitHub every time.
Yea, just run your plugin's *.tmux
script with run 'path/to/plugin/start_script.tmux'
I tried that, but I'm using Oh my Tmux and it does some magic with the way scripts are run and so running script with run
gets overwritten. It seems like plugins loaded with tpm (using set -g @plugin
) works fine. That's why I was wondering if it's possible.
This comment may be very late but just in case it helps (and others arriving at this issue in search of the same thing) - you can use a local bare git repo for this, for example. I had the same question, and wrote up some notes on the solution I found that worked for me: https://qmacro.org/blog/posts/2023/11/13/tmux-plugin-development-with-a-local-repo/