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