-
Notifications
You must be signed in to change notification settings - Fork 448
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
Run Install from command line? #6
Comments
You can run this:
It's the same script the |
Also, I'm curious, why do you need to run it from the command line? |
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? |
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 |
Yes, that works. Thank you for the help and the great plugin! |
That helped me too! Thank you! |
For docker configuration, I recommend to add
A complete example in
|
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:
Also, see the docs section on Automatic tpm installation. |
I had to search GH issues for this one tmux-plugins#6
This hook runs after the installation completes, allowing us to install our TPM plugins in `tmux` programmatically, as per this issue: tmux-plugins/tpm#6
I would like to run the installation of the plugins from command line and not from key binding.
The text was updated successfully, but these errors were encountered: