dotfiles/link.sh

13 lines
223 B
Bash
Raw Normal View History

2020-06-28 07:07:02 +03:00
#!/bin/sh
2020-07-01 10:43:10 +03:00
folders=($(ls $PWD/config))
2022-01-08 18:57:38 +02:00
files=("bashrc", "xbindkeysrc")
2020-06-28 07:07:02 +03:00
for folder in "${folders[@]}"; do
2020-07-01 10:43:10 +03:00
ln -sf $PWD/config/$folder $HOME/.config/
2020-06-28 07:07:02 +03:00
done
2020-06-30 01:55:42 +03:00
2020-07-01 10:43:10 +03:00
for file in "${files[@]}"; do
ln -sf $PWD/$file $HOME/.$file
done