dotfiles/dot_setup_new_env.sh
2024-05-18 19:08:15 -07:00

13 lines
250 B
Bash
Executable file

#!/usr/bin/env bash
function main {
mv -f .* $HOME
mv -f bin $HOME
cd $HOME
git submodule update --init --recursive
}
read -p "This will overwrite files in $HOME. Type 'yes' to confirm: " confirm
if [ "$confirm" == "yes" ]; then
main;
fi