aboutsummaryrefslogtreecommitdiffhomepage
path: root/setup.sh
blob: f2be5b5b61fe009f2bf15b866efb831c49c8e541 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

for name in .gitconfig .tmux.conf .vim .vimrc .zshrc; do
    if [ ! -L ~/$name ]; then
        ln -s -f ~/dotfiles/$name ~/$name
    fi
done

if [ ! -d ~/.config ]; then
    mkdir ~/.config
fi

for name in alacritty bat git; do
    if [ ! -L ~/.config/$name ]; then
        ln -s -f ~/dotfiles/.config/$name ~/.config/$name
    fi
done