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

for name in .gitconfig .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 fish git; do
    if [ ! -L ~/.config/$name ]; then
        ln -s -f ~/dotfiles/.config/$name ~/.config/$name
    fi
done