This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/bin/lib/arch-linux/provisioning/tmux-plugins.bash

21 lines
585 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2018-04-25 20:01:39 -05:00
mkdir -p "$HOME/.config/systemd/user"
# tmux plugin manager
2020-02-14 12:30:09 -06:00
git clone https://github.com/tmux-plugins/tpm "$XDG_CONFIG_HOME/tmux/plugins/tpm"
# load tmux config
2018-04-25 20:01:39 -05:00
tmux source-file "$HOME/.tmux.conf"
# clean, install, and update plugins
2020-02-14 12:30:09 -06:00
bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/clean_plugins"
bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/install_plugins"
bash "$XDG_CONFIG_HOME/tmux/plugins/tpm/bindings/update_plugins"
2018-04-25 20:01:39 -05:00
# load tmux config
tmux source-file "$HOME/.tmux.conf"
systemctl --user enable tmux.service
systemctl --user restart tmux.service