12 lines
184 B
Bash
12 lines
184 B
Bash
|
#!/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
|
||
|
ln -s -f "$from" "$to"
|
||
|
done
|
||
|
|