diff --git a/init.sh b/init.sh index 8781009..4547d2c 100755 --- a/init.sh +++ b/init.sh @@ -43,8 +43,7 @@ rm init.sh config README.md LICENSE rm -rf .git # move template files into this directory -mv template/* . -mv template/.* . +ls -a template | sed -r '/^\.+$/'d | xargs -I '{}' mv template/'{}' . rmdir template # Rename files