My dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
296 B

#!/bin/bash
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
OLDPATH=`pwd`
cd $HOME
for file in $FILES
do
ln -s ${SCRIPTPATH}/${file} .${file}
done
cd $OLDPATH