-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.install.sh
70 lines (52 loc) · 2.31 KB
/
.install.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/bin/bash
####################################################################################################
# archive
archDir="$HOME/.archive"
####################################################################################################
# create log directory
echo 'Checking log directory...'
if [ ! -d "$(pwd)/log" ]
then
echo 'Creating log directory...'
mkdir "$(pwd)/log"
fi
# link directory
echo 'Linking archive...'
ln -svf "$(pwd)" "${archDir}"
####################################################################################################
# homebrew
( source "${archDir}/.install/brew.sh" 1>> "${archDir}/log/brew.out" 2>> "${archDir}/log/brew.err" ) &
# c++
( source "${archDir}/.install/c++.sh" 1>> "${archDir}/log/c++.out" 2>> "${archDir}/log/c++.err" ) &
# clojure
( source "${archDir}/.install/clojure.sh" 1>> "${archDir}/log/clojure.out" 2>> "${archDir}/log/clojure.err" ) &
# go
( source "${archDir}/.install/go.sh" 1>> "${archDir}/log/go.out" 2>> "${archDir}/log/go.err" ) &
# julia
( source "${archDir}/.install/julia.sh" 1>> "${archDir}/log/julia.out" 2>> "${archDir}/log/julia.err" ) &
# R
( source "${archDir}/.install/R.sh" 1>> "${archDir}/log/R.out" 2>> "${archDir}/log/R.err" ) &
# rust & cargo
( source "${archDir}/.install/rust.sh" 1>> "${archDir}/log/rust.out" 2>> "${archDir}/log/rust.err" ) &
####################################################################################################
# ergo
####################################################################################################
(
if [[ ! -d "${HOME}/Completion" ]]; then mkdir "${HOME}/Completion"; fi
cd "${HOME}/Completion" || exit
git clone https://github.com/nikolassv/bartib
git clone https://github.com/twpayne/chezmoi
git clone https://github.com/eza-community/eza
git clone https://github.com/sharkdp/fd
git clone https://github.com/casey/just
git clone https://github.com/watchexec/watchexec
) &
(
if [[ ! -d "${HOME}/Linked" ]]; then mkdir "${HOME}/Linked"; fi
cd "${HOME}/Linked" || exit
git clone https://github.com/lavifb/todo_r
git clone https://github.com/mikefarah/yq
) &
####################################################################################################
wait
####################################################################################################