dotfiles/link.sh
2020-07-01 10:43:10 +03:00

13 lines
221 B
Bash
Executable File

#!/bin/sh
folders=($(ls $PWD/config))
files=("Xresources" "bashrc")
for folder in "${folders[@]}"; do
ln -sf $PWD/config/$folder $HOME/.config/
done
for file in "${files[@]}"; do
ln -sf $PWD/$file $HOME/.$file
done