#!/bin/bash set -e # Restart tmux if running with the latest configuration if pgrep -x tmux; then tmux source-file ~/.config/tmux/tmux.conf fi