18 lines
484 B
Bash
Executable File
18 lines
484 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
if [[ ! -x "$(command -v tmux)" ]]; then
|
|
paru -Sy --needed --noconfirm tmux git zoxide fzf
|
|
fi
|
|
|
|
${DOTFILES_DIR}/sync-config config/tmux
|
|
THEMES_DIR="${HOME}/.local/share/themes"
|
|
|
|
ln -snf ${THEMES_DIR}/current/theme/tmux ${HOME}/.config/tmux/theme
|
|
|
|
# setup tmux
|
|
if [[ ! -d ~/.config/tmux/plugins/tpm ]]; then
|
|
git clone https://github.com/tmux-plugins/tpm ${HOME}/.config/tmux/plugins/tpm
|
|
tmux run-shell ~/.config/tmux/plugins/tpm/bindings/install_plugins
|
|
fi
|
|
|