-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-essentials.sh
More file actions
executable file
·74 lines (53 loc) · 2.56 KB
/
setup-essentials.sh
File metadata and controls
executable file
·74 lines (53 loc) · 2.56 KB
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
echo "###############################################################################"
echo "# We need sudo do start"
echo "###############################################################################"
sudo echo "I need your permission please"
sudo echo "Thanks. I'll begin the install now"
echo "###############################################################################"
echo "# Make all system updates"
echo "###############################################################################"
sudo apt-get update -y
sudo apt-get upgrade -y
echo "###############################################################################"
echo "# Install Git"
echo "###############################################################################"
sudo apt-get install git -y
echo "###############################################################################"
echo "# Install vim and its goods"
echo "###############################################################################"
# install neovim
sudo apt-get install neovim -y
# Install silver search
sudo apt-get install silversearcher-ag -y
# Clone vim configs
git clone https://github.com/adroaldof/nvim.git ~/.config/nvim
echo "###############################################################################"
echo "# Install Docker"
echo "###############################################################################"
wget -qO- https://get.docker.com/ | sh
sudo usermod -aG docker $USER
echo "###############################################################################"
echo "# Post Install Setups"
echo "###############################################################################"
# Clean packages
sudo apt-get clean -y
# Reduce image size
sudo rm -rf /var/lib/apt/lists/*
# Generate UTF-8 locale
sudo locale-gen en_US en_US.UTF-8
# Reconfigure locales
sudo dpkg-reconfigure locales
echo "###############################################################################"
echo "# Install ZSH and oh-my-zsh"
echo "###############################################################################"
rm -rf ~/.oh-my-zsh 2> /dev/null
rm -rf ~/.zsh* 2> /dev/null
sudo apt-get install zsh -y
sudo chsh -s $(which zsh)
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
echo "###############################################################################"
echo "# "
echo "# Done... Now you are ready to go. Cheers..."
echo "# "
echo "###############################################################################"