15 lines
239 B
Bash
Executable file
15 lines
239 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
function main {
|
|
mv -f .* $HOME
|
|
mv -f bin $HOME
|
|
cd $HOME
|
|
git update --init --recursive
|
|
}
|
|
|
|
read -p "This will overwrite files in $HOME. Type 'yes' to confirm." confirm
|
|
if [ "$confirm" == "yes" ]; then
|
|
main;
|
|
fi
|