-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
tpm not downloading additional plugins from tmux.conf.local
#671
Comments
## what - move loading plugins to `tmux.conf` - move loading plugins from `./tools/tmux/plugins.tmux.conf` to `./tools/tmux/tmux.conf` ## how ## why - since im using config from https://github.com/gpakosz/.tmux , it doesn't seem to load plugins if sourcing from another file - check gpakosz/.tmux#671 ## where - ./tools/tmux/tmux.conf ## usage
## what - move loading plugins to `tmux.conf` - move loading plugins from `./tools/tmux/plugins.tmux.conf` to `./tools/tmux/tmux.conf` ## how ## why - since im using config from https://github.com/gpakosz/.tmux , it doesn't seem to load plugins if sourcing from another file - check gpakosz/.tmux#671 ## where - ./tools/tmux/tmux.conf ## usage
Hello @Clumsy-Coder, Oh my tmux! doesn't support sourcing yet another configuration file from the |
It's not trivial to support glob patterns in path, as well as the different options. |
Hello, I got the same issue, my plugins definition (for installation) is under user customizations section, however whenever I try to update/install new plugins I get the error of: "GitHub doesn't seem to be reachable, skipping installing and/or updating tpm and plugins...". My tmux.conf.local is a symbolic link to my dotfiles configuration, although I don't see how this would be a problem. Can anyone suggest any hints on how to resolve this? |
This is definitely a problem, I have a similar setup, where |
This is unrelated to this issue. Oh my tmux doesn't support having its |
Can you please give the This is supposed to support elaborated configurations like
|
Oh my tmux! now supports
Which stock TPM can't do 🙃 |
Hello @Clumsy-Coder 👋 Are you still following this issue by chance? |
@gpakosz I'm still following this issue. |
@Clumsy-Coder Cool! Please tell me if the |
@gpakosz I tried the branch. It works. I tested with the following steps
rm -rfv ~/.config/oh-my-tmux ~/.config/tmux ~/dotfiles/tools/tmux/
mkdir -p ~/.config/tmux ~/dotfiles/tools/tmux/
git clone --branch gh-671 https://github.com/gpakosz/.tmux.git ~/.config/oh-my-tmux
ln -sf ~/.config/oh-my-tmux/.tmux.conf ~/.config/tmux/tmux.conf
echo "set -g @plugin 'jaclu/tmux-menus'" > ~/dotfiles/tools/tmux/plugin.tmux.conf
echo "source ~/dotfiles/tools/tmux/plugin.tmux.conf" > ~/.config/tmux/tmux.conf.local
tmux
NOTE: I tested it in a VM using vagrant and virtualbox as the VM runner. I used ubuntu-22.04 as the OS NOTE: needs more testing. I had some weird behavior where I follow the steps mentioned above, and it doesn't work. Once I kill the tmux server and open a new tmux session, it works. This happens sometimes NOTE: needs more testing. I had some weird behavior where I follow the steps mentioned above, and it works. I kill the tmux server and open a new tmux session, it would uninstall the plugins. This happens rarely, not sure why or how installing.plugin.via.oh-my-tmux.and.tpm.webm |
@Clumsy-Coder Thank you for the test I will have a look |
I can't reproduce the fact that plugins get uninstalled Are you sure you don't have other configuration files around? |
In fact I can reproduce with vagrant |
I believe it happens when exiting and the background job that installs tmux plugins hasn't finished yet |
I think I was able to fix the discovery of the plugins that would sometimes return nothing, causing uninstallation I pushed another commit to the branch |
@gpakosz I tried it again with steps mentioned earlier. It works great! |
TPM doesn't seem to download tmux plugins when their defined in
tmux.conf.local
commands run
~/.config/tmux/tmux.conf.local
source-file ~/dotifles/tools/tmux/plugins.tmux.conf
~/dotifles/tools/tmux/plugins.tmux.conf
ls -lah ~/.config/tmux
ls -lah ~/.config/tmux/plugins
total 8 drwxr-xr-x 4 umar staff 128B 11 Sep 10:30 . drwxr-xr-x 6 umar staff 192B 11 Sep 10:30 .. drwxr-xr-x 18 umar staff 576B 11 Sep 10:30 tpm -rw-r--r-- 1 umar staff 70B 11 Sep 10:30 tpm_log.txt
Not sure what am I missing
The text was updated successfully, but these errors were encountered: