etc/dot/install.sh

11 lines
164 B
Bash
Raw Normal View History

2020-11-04 02:03:20 +03:00
#!/bin/sh
rpath="$(dirname `readlink -f $0`)"
dot="$rpath/file"
for i in $dot/* ; do
ln="$HOME/.`basename $i`"
rm -rf "$ln"
2020-11-04 02:03:20 +03:00
echo $ln $i
ln -s "$i" "$ln"
done