#!/usr/bin/env bash # Symlink tmux configs into place set -e DIR="$(cd "$(dirname "$0")" && pwd)" echo "Installing tmux configs..." # tmux.conf ln -sf "$DIR/tmux.conf" ~/.tmux.conf echo " ~/.tmux.conf -> $DIR/tmux.conf" # dev-session script mkdir -p ~/.tmux ln -sf "$DIR/dev-session.sh" ~/.tmux/dev-session.sh echo " ~/.tmux/dev-session.sh -> $DIR/dev-session.sh" echo "Done. Changes take effect on next tmux start (or: tmux source ~/.tmux.conf)"