11 lines
230 B
Bash
11 lines
230 B
Bash
#! /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
|