etc/dot/install.rc

10 lines
157 B
Bash
Executable file

#!/bin/env rc
rpath = `{dirname `{readlink -f $0}}
dot = $rpath/file
for(i in $dot/*){
ln = $home/.`{basename $i}
rm -rf $ln
echo $ln $i
ln -s $i $ln
}