Update README.md for tpm support

This commit is contained in:
wfxr
2015-10-27 20:18:40 +08:00
parent 0be58c8cf1
commit aff42e94a5

View File

@@ -5,6 +5,8 @@ A pack of various themes for Tmux.
## Installation
### Install manually
1. Clone repo to local machine:
git clone https://github.com/jimeh/tmux-themepack.git ~/.tmux-themepack
@@ -13,6 +15,21 @@ A pack of various themes for Tmux.
source-file "${HOME}/.tmux-themepack/powerline/block/green.tmuxtheme"
### Install using [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm)
Add plugin to the list of TPM plugins in `.tmux.conf`:
set -g @plugin 'jimeh/tmux-themepack'
Hit `prefix + I` to fetch the plugin and source it. The plugin should now be working.
You can pick and choose a theme via `.tmux.conf` option:
- `set -g @themepack 'block/blue'` (default)
- `set -g @themepack 'block/cyan'`
- `set -g @themepack 'default/gray'`
- `set -g @themepack 'double/megenta'`
- `...`
## Themes