rc/install.sh

14 lines
282 B
Bash
Executable file

#!/bin/sh
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
# List of the config files to install
FILES="vimrc zshrc gitconfig vim"
# Create symbolic links in the user's home dir
for file in $FILES
do
ln -s -T $SCRIPTPATH/$file .$file
mv .$file /home/$USER
done