10 lines
118 B
Bash
10 lines
118 B
Bash
#!/bin/bash
|
|
|
|
git init
|
|
|
|
if [ ! -d "$1" ]; then
|
|
echo "Template doesn't exist!"
|
|
else
|
|
cp -r ~/.config/templates/$1 .
|
|
fi
|