blob: c23695518557b334d27d861183ab07692f293e42 (
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
26
|
#!/bin/bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
cd "$SCRIPT_DIR" || exit
bash ./core/ssh.sh || { echo "Failed to configure SSH"; exit 1; }
bash ./core/vim.sh || { echo "Failed to configure Vim"; exit 1; }
bash ./core/install-packages.sh || { echo "Failed to install packages"; exit 1; }
sudo tee -a /etc/bashrc > /dev/null << 'EOF2'
LS_COLORS=$LS_COLORS:'di=38;5;135:ex=00;32:' ; export LS_COLORS
PS1='[\[\033[01;32m\]\u\[\033[00m\]@\h \[\033[38;5;135m\]\W\[\033[00m\]]\$ '
EOF2
source /etc/bashrc
sudo timedatectl set-timezone Asia/Singapore
# add check fro each component
# then git clone work directory, or git clone altogether
|