12 lines
205 B
Bash
Executable file
12 lines
205 B
Bash
Executable file
#!/bin/sh
|
|
|
|
mkdir -p $HOME/.config
|
|
rpath="$(dirname `readlink -f $0`)"
|
|
for i in * ; do
|
|
from="$rpath/$i"
|
|
to="$HOME/.config/`basename $i`"
|
|
echo "'$from'" "'$to'"
|
|
rm -f "$to"
|
|
ln -s -f "$from" "$to"
|
|
done
|
|
|