aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.sh
blob: d720efba11a17c7523e755eb95b4e5dd7201984f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
if [[ ! -d ~/.tmux ]]; then
    git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
fi
if [[ -f ~/.tmux.conf ]]; then
    echo "Old tmux configuration detected, remove it before running."
    exit 1
fi
cat > ~/.tmux.conf << EOF
set-option -g status-position top
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'Determinant/tmux-colortag'
run -b '~/.tmux/plugins/tpm/tpm'
EOF