etc/dot/install.sh
2020-11-04 04:03:20 +05:00

10 lines
163 B
Bash
Executable file

#!/bin/sh
rpath="$(dirname `readlink -f $0`)"
dot="$rpath/file"
for i in $dot/* ; do
ln="$HOME/.`basename $i`"
rm -f "$ln"
echo $ln $i
ln -s "$i" "$ln"
done