config file

This commit is contained in:
Kulvir
2021-10-25 20:30:12 +05:30
committed by GitHub
parent 47abf2c72c
commit 10c6108887

10
config.sh Normal file
View File

@@ -0,0 +1,10 @@
#! /bin/bash
DOTFILES=(.bash_profile .gitconfig .gitignore)
#Remove old dotfiles and replace them
for dotfile in $(echo ${DOTFILES[*]});
do
rm ~/$(echo $dotfile)
ln -s ~/dotfiles/$(echo $dotfile) ~/$(echo $dotfile)
done