Update 'clone_dotfiles.sh'

This commit is contained in:
tosu 2023-01-31 12:40:40 +01:00
parent a1b64697fd
commit 4638d92453
1 changed files with 3 additions and 4 deletions

View File

@ -1,13 +1,12 @@
cd
rm -rf .git
printf "\033[32m%s\033[m\n" "Backing up current dotfiles"
printf "\033[33m%s\033[m\n" ".bashrc -> .bashrc.old"
printf "\033[35m%s\033[m\n" ".bashrc -> .bashrc.old"
cp .bashrc .bashrc.old
printf "\033[33m%s\033[m\n" ".profile -> .profile.old"
printf "\033[35m%s\033[m\n" ".profile -> .profile.old"
cp .profile .profile.old
printf "\033[33m%s\033[m\n" ".inputrc -> .inputrc.old"
printf "\033[35m%s\033[m\n" ".inputrc -> .inputrc.old"
cp .inputrc .inputrc.old
printf "\033[33m%s\033[m\n" ".inputrc -> .inputrc.old"
git init
git remote add origin https://git.timo.one/tosu/dotfilestosu
git fetch