Comments (11)
I'd be happy to help out.
from tpm.
Hi, I have also run into this bug and it's seriously pretty bad. Any updates on this?
from tpm.
Guys, I'm so shamed this one is open for so long.
I obviously need help maintaining this project. Who do you think would be a good fit? @Graham42 can you help?
from tpm.
This is pretty bad. I'll look into this asap.
from tpm.
I can confirm this bug.
As it is rather serious and still not fixed after two months, maybe add a temporary safety?
It would be sufficient to exit the script if $(tpm_path)
returns an empty string. (It's even best to add that check permanently)
For me, the problem arose when i used an automated script that didn't check the tmux version and called the install and clean scripts directly. Because of this the tpm script didn't load the vars (tmux version to low) and the install and cleanup scripts don't have there own checks and tried to do their thing without the correct vars being set.
from tpm.
As this project seems to be dead, I just wrote my own plugin manager as an extension for ellipsis.
Both Ellipsis and Ellipsis-TPM could still use a lot of work, butt it's stable and functional. Feel free to join the Ellipsis community!
Although I have my own manager now, I do hope this project get's a new maintainer. (Or Bruno finds the time again)
from tpm.
+1. It destroyed my home directory too 😣
from tpm.
Happend to me too. I think the root of the problem is not related to the environment variable (ultimately it is), or if you call clean_plugins
outside of a tmux
session (which is claimed to be supported). Calling the clean_plugins
command without tmux
being installed will remove $HOME, because the check_tmux_version.sh file (and no other code, I think) is checking if tmux is actually installed. Setting the environment variable is however done using a call to the tmux program, which obviously fails if it's not installed. I think this can be fixed by either:
- Requiring tmux to be installed before cleaning anything
- Don't only set the environment variable using tmux, but actually export it so it's set even if tmux is not installed
Maybe it might be worth considering to switch the project lead to another person (or to add maintainers to it) so that the project can actively be maintained. Bugs as this one are rather serious and should be fixed as soon as possible.
Thanks!
from tpm.
A temporary workaround is to add export TMUX_PLUGIN_MANAGER_PATH="$HOME/.tmux/plugins"
in .zshrc
profile.
from tpm.
If anyone wants a fork of tpm that fixes this issue, check out mine: https://github.com/Graham42/tpm
see below
from tpm.
Hi @bruno- , we didn't see you here for a long time, it's a pity that you don't have a time for your projects, I really like work, it helps me a lot
Hope you are doing well 😇
from tpm.
Related Issues (20)
- tpm generates unknown variable: TMUX_PLUGIN_MANAGER_PATH
- Load time is significantly long while tpm is enabled
- [discussion] bundle several tmux plugins under a common umbrella organization for visibility
- TPM does not install plugins on M1 Mac (Ventura) HOT 8
- Nix formula please? HOT 1
- NetBSD - TPM locks up the entire system. HOT 4
- Is there a way to install plugins to another directory? HOT 7
- How to install plugins automatically? HOT 2
- Implementing an embedded plugin list in tpm? HOT 1
- how to update TPM itself? HOT 2
- TPM is apparently installing plugins but they are not loaded. Windows 10 WSL2 Ubuntu. HOT 1
- Tmux output numbers separated by semicolon at startup HOT 7
- TPM should account for the repository's author to prevent naming conflicts HOT 1
- Sourcing tmux conf returns 126 in WSL Ubuntu HOT 4
- '~/.local/share/tmux/plugins/tpm/tpm' returned 1 on macOS Sonoma 14.3.1 HOT 3
- tpm does not works on macbook pro m3 pro HOT 2
- Fix the instructions on changing plugins install dir HOT 1
- Install plugin from subdirectory HOT 1
- Most plugins are not being installed and loaded HOT 3
- Fix: cannot set variables with a name whose prefix is `plugin` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tpm.