blob: 8e3d17743077bc965a66f886295920cbce98080b (
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
25
|
#!/bin/bash
dir=~/Dotfiles;
files=`cat $dir/files`;
for file in $files; do
echo "Creating symlink for " + $file;
ln -s $dir/$file ~/.$file;
done
# Other folders
mkdir ~/Text;
mkdir ~/Programming;
mkdir ~/Projects;
mkdir ~/Projects/Templates;
mkdir ~/School;
touch ~/Text/notes.org;
touch ~/Text/todo.org;
touch ~/Text/calendar.org;
declare -a templates=("CTemplate" "CPPTemplate" "PythonTemplate" "NodeTemplate" "ArduinoTemplate");
for template in ${templates[@]}; do
git clone https://github.com/Oreodave/$template ~/Projects/Templates/$template;
done
|