dotfiles/.setup_new_env.sh
2014-01-21 15:03:58 -05:00

13 lines
242 B
Bash
Executable file

#!/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