Updated Installing plugins via the command line only (markdown)
parent
bb75062848
commit
d3ea6fceb7
1 changed files with 4 additions and 6 deletions
|
@ -10,11 +10,9 @@ This is the equivalent of pressing `prefix + I`.
|
|||
|
||||
To install the plugins when `tmux` is not even started (for example in a provisioning script):
|
||||
|
||||
# start a server but don't attach to it
|
||||
tmux start-server
|
||||
# create a new session but don't attach to it either
|
||||
# start tmux and create a session but don't attach to it
|
||||
tmux new-session -d
|
||||
# install the plugins
|
||||
~/.tmux/plugins/tpm/scripts/install_plugins.sh
|
||||
# killing the server is not required
|
||||
tmux kill-server
|
||||
tmux run "~/.tmux/plugins/tpm/scripts/install_plugins.sh"
|
||||
# killing the session is not required
|
||||
tmux kill-session
|
Loading…
Add table
Reference in a new issue