rc/install.sh
2015-06-07 00:47:56 +02:00

14 lines
278 B
Bash
Executable file

#!/bin/sh
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
# List of the config files to install
FILES="vimrc zshrc gitconfig"
# 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