-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·75 lines (54 loc) · 1.47 KB
/
setup.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
71
72
73
74
75
#!/bin/bash
set -e
if [ "$EUID" -eq 0 ]
then echo "Do NOT run as root!!! Aborting..."
exit 1
fi
dir="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
# So we can find our user-installed version of pip3 on the first run.
export PATH="${HOME}/.local/bin:$PATH"
echo "--Creating home dirs"
mkdir -p \
~/bin \
~/src \
~/go \
~/.bash_completion.d \
~/.zsh/completion \
~/.zsh/cache
echo "--Installing Ubuntu system packages"
"$dir/ubuntu/setup.sh"
echo "--Installing snap packages"
"$dir/snap/setup.sh"
echo "--Installing pip user packages"
"$dir/pip/setup.sh"
echo "--Installing rust and cargo packages"
"$dir/rust/setup.sh"
echo "--Installing npm packages"
"$dir/npm/setup.sh"
echo "--Installing bazel"
"$dir/bazel/setup.sh"
echo "--Installing fzf"
"$dir/fzf/setup.sh"
echo "--Installing fonts"
"$dir/fonts/setup.sh"
echo "--Setting up zsh config"
"$dir/zsh/setup.sh"
echo "--Setting up bash config"
"$dir/bash/setup.sh"
echo "--Setting up vim config"
"$dir/vim/setup.sh"
echo "--Setting up nvim config"
"$dir/nvim/setup.sh"
echo "--Setting up ranger config"
"$dir/ranger/setup.sh"
echo "--Setting up tilix config"
"$dir/tilix/setup.sh"
echo "--Setting up conky config"
"$dir/conky/setup.sh"
echo ""
echo "SUCCESS!"
echo ""
echo "Manual steps:"
echo "* Set up lm-sensors for your hardware by running sensors-detect"
echo "* Set tilix as default terminal emulator on Ubuntu with the following command:"
echo " sudo update-alternatives --config x-terminal-emulator"