dotfiles/.setup_new_env.sh

13 lines
252 B
Bash
Executable file

#!/usr/local/bin/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