-
Notifications
You must be signed in to change notification settings - Fork 0
/
SetupMACe.sh
executable file
·56 lines (39 loc) · 1.4 KB
/
SetupMACe.sh
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash
# --- Setup Script for the MACe vApp ---
# ... add symbolic links to dot files ...
ln -s ~/vAppLocal/dots/MACe.bashrc ~/.bashrc
ln -s ~/vAppLocal/dots/dot.bash_profile ~/.bash_profile
ln -s ~/vAppLocal/dots/dot.emacs ~/.emacs
# ... set up Desktop/References folder ...
mkdir ~/Desktop/References
cp -R references/bash ~/Desktop/References/
cp -R references/Emacs ~/Desktop/References/
cp -R references/git ~/Desktop/References/
cp -R references/LaTeX ~/Desktop/References/
cp -R references/AMS-LaTeX ~/Desktop/References/
cp -R references/Xfig ~/Desktop/References/
cp -R references/python ~/Desktop/References/
cp -R references/OpenFOAM ~/Desktop/References/
# ... set up unison sync profile ...
mkdir ~/.unison
ln -s ~/vAppLocal/unison/MPCe.prf ~/.unison/
# ... set up Documents ...
cd ~/Documents/
git clone https://github.com/kohoman/mweLaTeX.git
git clone https://github.com/kohoman/mwePython.git
git clone https://github.com/kohoman/mstTheses.git
# ... set up user texmf ...
cd
mkdir ~/texmf
mkdir ~/texmf/bibtex
mkdir ~/texmf/bibtex/bst
mkdir ~/texmf/bibtex/bib
mkdir ~/texmf/tex
mkdir ~/texmf/tex/latex
ln -s ~/Documents/mstTheses/source_bst/mstogs.bst ~/texmf/bibtex/bst/
ln -s ~/Documents/mstTheses/source_class/mstogs.cls ~/texmf/tex/latex/
# ... set up user bin directory ...
mkdir ~/bin
# ... set up local Python directory ...
mkdir ~/python
exit