Comments (8)
You can run this:
~/.tmux/plugins/tpm/scripts/install_plugins.sh
It's the same script the prefix + I
key is bound to.
from tpm.
Hm, I've never though about that use case, but yes it should be possible.
Here are the steps I just ran from plain terminal (no tmux) and it all went well.
# start a server but don't attach to it
tmux start-server
# create a new session but don't attach to it either
tmux new-session -d
# install the plugins
~/.tmux/plugins/tpm/scripts/install_plugins.sh
# killing the server is not required, I guess
tmux kill-server
from tpm.
Note that (as of 2015) a new install script was created that supports automatic installation without the fuss of starting up a tmux server. Just call:
$ ~/.tmux/plugins/tpm/bin/install_plugins
# Script intended for use via the command line.
#
# `.tmux.conf` needs to be set for TPM. Tmux has to be installed on the system,
# but does not need to be started in order to run this script.
Also, see the docs section on Automatic tpm installation.
from tpm.
That helped me too! Thank you!
It is an awesome tool!
from tpm.
I am using bash/Dockerfile script to create a VM/image for development environment and would like to have everything ready after the script finishes.
However, install_plugins.sh is interactive at the end of the installation and asks "Done, press ENTER to continue.". Any way to make it continue without human intervention?
from tpm.
Also, I'm curious, why do you need to run it from the command line?
from tpm.
Yes, that works. Thank you for the help and the great plugin!
from tpm.
For docker configuration, I recommend to add sleep 1
before calling install_plugins.sh
to wait for tmux server launch, otherwise the following error may trigger
unknown variable: TMUX_PLUGIN_MANAGER_PATH
FATAL: Tmux Plugin Manager not configured in tmux.conf
A complete example in Dockerfile
may be
RUN tmux start-server && \
tmux new-session -d && \
sleep 1 && \
~/.tmux/plugins/tpm/scripts/install_plugins.sh && \
tmux kill-server
from tpm.
Related Issues (20)
- [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
- GitHub rejects clones using user:pass:?@host construction HOT 1
- TPM Update returns "failed to store -25299" HOT 3
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.