Commit a6c652a3 authored by Antoine Bernard's avatar Antoine Bernard

Merge branch 'perso' of gitlab.crans.org:abernard/fichiers_configuration into perso

parents 101bccba bdf1c858
#!/bin/bash
#-*- Author : Antoine Bernard <abernard@crans.org> -*-
#Deployment script for configuration.
FILES=".zsh .zshrc .gitconfig .vimrc"
ERRN=0
for f in $FILES
do
echo "Creating symbolic link $PWD/$f in $f"
ln -s "$f" "~/$f"
ln -s "$PWD/$f" "$HOME/$f"
if [ $? -ne 0 ]
then
((ERRN++))
fi
done
echo "Deployment finished !"
if [ $ERRN -ne 0 ]
then
echo "There was $ERRN error(s) !"
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment