diff --git a/README.md b/README.md index abb3371..948e272 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Theme with 'retro groove' flavor for [Tmux][github-tmux], based on Pavel Pertsev ## Installation +### Install manually The simplest way is just: > HINT: Always make a backup of your config files before any action. @@ -16,6 +17,14 @@ The simplest way is just: cat tmux-gruvbox-dark.conf >> ~/.tmux.conf ``` +### Install through [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) +Add plugin to the list of TPM plugins in `.tmux.conf` +``` +set -g @plugin 'egel/tmux-gruvbox' +``` +Hit `prefix + I` to fetch the plugin and source it. +Your tmux should be updated with the theme at this point. + ## License GPLv3 - Maciej Sypień diff --git a/gruvbox-tpm.tmux b/gruvbox-tpm.tmux new file mode 100755 index 0000000..3743475 --- /dev/null +++ b/gruvbox-tpm.tmux @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +tmux source-file "$CURRENT_DIR/tmux-gruvbox-dark.conf"