mirror of
https://github.com/tmux-plugins/tpm.git
synced 2024-12-04 18:58:49 +00:00
Doc for managing plugins via the command line
This commit is contained in:
parent
e62d12c980
commit
b2a2581a6a
@ -73,7 +73,7 @@ More advanced features and instructions, regular users probably do not need
|
|||||||
this:
|
this:
|
||||||
|
|
||||||
- [How to create a plugin](docs/how_to_create_plugin.md). It's easy.
|
- [How to create a plugin](docs/how_to_create_plugin.md). It's easy.
|
||||||
- [Installing plugins via the command line](docs/installing_plugins_via_cmd_line.md)
|
- [Managing plugins via the command line](docs/managing_plugins_via_cmd_line.md)
|
||||||
- [Changing plugins install dir](docs/changing_plugins_install_dir.md)
|
- [Changing plugins install dir](docs/changing_plugins_install_dir.md)
|
||||||
- [Automatic TPM installation on a new machine](docs/automatic_tpm_installation.md)
|
- [Automatic TPM installation on a new machine](docs/automatic_tpm_installation.md)
|
||||||
|
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
# Installing plugins via the command line only
|
|
||||||
|
|
||||||
Run the following command to install plugins:
|
|
||||||
|
|
||||||
~/.tmux/plugins/tpm/bin/install_plugins
|
|
||||||
|
|
||||||
Tmux does not need to be started in order to run the script (but it's okay if it
|
|
||||||
is).
|
|
||||||
|
|
||||||
If you [changed tpm install dir](docs/changing_plugins_install_dir.md) in
|
|
||||||
`.tmux.conf` that should work fine too.
|
|
||||||
|
|
||||||
Prerequisites:
|
|
||||||
|
|
||||||
- tmux installed on the system (doh)
|
|
||||||
- `.tmux.conf` set for TPM
|
|
30
docs/managing_plugins_via_cmd_line.md
Normal file
30
docs/managing_plugins_via_cmd_line.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# Managing plugins via the command line
|
||||||
|
|
||||||
|
Aside from tmux key bindings, TPM provides shell interface for managing plugins
|
||||||
|
via scripts located in [bin/](../bin/) directory.
|
||||||
|
|
||||||
|
Tmux does not need to be started in order to run scripts (but it's okay if it
|
||||||
|
is). If you [changed tpm install dir](../docs/changing_plugins_install_dir.md)
|
||||||
|
in `.tmux.conf` that should work fine too.
|
||||||
|
|
||||||
|
Prerequisites:
|
||||||
|
|
||||||
|
- tmux installed on the system (doh)
|
||||||
|
- `.tmux.conf` set up for TPM
|
||||||
|
|
||||||
|
### Installing plugins
|
||||||
|
|
||||||
|
As usual, plugins need to be specified in `.tmux.conf`. Run the following
|
||||||
|
command to install plugins:
|
||||||
|
|
||||||
|
~/.tmux/plugins/tpm/bin/install_plugins
|
||||||
|
|
||||||
|
### Updating plugins
|
||||||
|
|
||||||
|
To update all installed plugins:
|
||||||
|
|
||||||
|
~/.tmux/plugins/tpm/bin/install_plugins all
|
||||||
|
|
||||||
|
or update a single plugin:
|
||||||
|
|
||||||
|
~/.tmux/plugins/tpm/bin/install_plugins tmux-sensible
|
Loading…
Reference in New Issue
Block a user