Update 'clone_dotfiles.sh'

This commit is contained in:
tosu 2023-01-31 12:39:45 +01:00
parent efc982e711
commit a1b64697fd
1 changed files with 5 additions and 5 deletions

View File

@ -1,13 +1,13 @@
cd
rm -rf .git
printf "\033[32m%s\033[m" "Backing up current dotfiles"
printf "\033[33m%s\033[m" ".bashrc -> .bashrc.old"
printf "\033[32m%s\033[m\n" "Backing up current dotfiles"
printf "\033[33m%s\033[m\n" ".bashrc -> .bashrc.old"
cp .bashrc .bashrc.old
printf "\033[33m%s\033[m" ".profile -> .profile.old"
printf "\033[33m%s\033[m\n" ".profile -> .profile.old"
cp .profile .profile.old
printf "\033[33m%s\033[m" ".inputrc -> .inputrc.old"
printf "\033[33m%s\033[m\n" ".inputrc -> .inputrc.old"
cp .inputrc .inputrc.old
printf "\033[33m%s\033[m" ".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