blob: f10e0bc660199bb81b14f2a358692b6520aa8316 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/bash
folders=`find . -maxdepth 1 -type 'd' -not -name '.git' -not -name '.'`;
# Symlink profiles
for pkg in $folders; do
echo "Stowing " $pkg;
stow $pkg
done
# Generate folders
mkdir ~/Text;
mkdir ~/Code;
mkdir ~/Code/Learning;
mkdir ~/Code/Projects;
mkdir ~/Code/Templates;
mkdir ~/School;
# get templates
declare -a templates=("CTemplate" "CPPTemplate" "PythonTemplate"
"NodeTemplate" "ArduinoTemplate");
for template in ${templates[@]}; do
git clone https://github.com/odavep/$template ~/Code/Templates/$template;
done
|