dotfiles/link.sh

13 lines
223 B
Bash
Executable File

#!/bin/sh
folders=($(ls $PWD/config))
files=("bashrc", "xbindkeysrc")
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