#!/bin/bash # Tmux Install Script # :PROPERTIES: # :header-args:bash: :tangle scripts/install-tmux.sh :shebang "#!/bin/bash" :mkdirp yes # :END: # [[file:../tmux.org::*Tmux Install Script][Tmux Install Script:1]] set -euo pipefail # Tmux Install Script:1 ends here # Packages # [[file:../tmux.org::*Packages][Packages:1]] echo "==> Tmux packages" paru -S --needed --noconfirm tmux # Packages:1 ends here # Tangle Configuration # [[file:../tmux.org::*Tangle Configuration][Tangle Configuration:1]] echo "==> Tangling tmux.org" emacsclient -e '(org-babel-tangle-file "/home/thomas/.config/literate-dotfiles/tmux.org")' # Tangle Configuration:1 ends here # Install TPM Plugins # [[file:../tmux.org::*Install TPM Plugins][Install TPM Plugins:1]] echo "==> Installing TPM plugins" if [ ! -d ~/.config/tmux/plugins/tpm ]; then git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm fi tmux source ~/.config/tmux/tmux.conf # Install TPM Plugins:1 ends here