aboutsummaryrefslogtreecommitdiffhomepage
path: root/setup.sh
blob: dd68908c2a704a2f7b9caf5e2870defcf9bdf352 (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 starship.toml; do
    if [ ! -L ~/.config/$name ]; then
        ln -s -f ~/dotfiles/.config/$name ~/.config/$name
    fi
done