deploy.sh: implement todo

Summary:
albeit incomplete in `ash`, who cares? ™️

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `sh deploy.sh`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D117
This commit is contained in:
revi 2024-05-20 14:19:50 +00:00
parent e839c265f8
commit aba4d83c39

View file

@ -15,10 +15,16 @@
echo 'Now starting deploy script' echo 'Now starting deploy script'
# TODO: make it emit last commit hash, date and commit title git show --minimal --no-patch --pretty=oneline
echo 'Now copying git defaults' echo 'Now copying git defaults'
rm -rf ~/.gitignore
echo 'moving .gitignore'
cp default.gitignore ~/.gitignore cp default.gitignore ~/.gitignore
rm -rf ~/.gitconfig
echo 'moving .gitconfig'
cp default.gitconfig ~/.gitconfig cp default.gitconfig ~/.gitconfig
rm -rf ~/.gitaliases
echo 'moving .gitaliases'
cp .gitaliases ~/.gitaliases cp .gitaliases ~/.gitaliases
echo 'Done!'