add setup script
This commit is contained in:
parent
f7647a31dc
commit
82b19bc718
1 changed files with 15 additions and 0 deletions
15
.setup_new_env.sh
Executable file
15
.setup_new_env.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue