13 lines
208 B
Bash
Executable File
13 lines
208 B
Bash
Executable File
#!/bin/sh
|
|
|
|
folders=($(ls $PWD/config))
|
|
files=("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
|