-
Notifications
You must be signed in to change notification settings - Fork 0
/
startup.sh
32 lines (27 loc) · 1.25 KB
/
startup.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
#!/bin/bash
# Обновление Pacman
echo "---Pacman update---"
sudo pacman -Syu --noconfirm
# Установка yay
echo "---Install yay---"
sudo pacman -S --noconfirm git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si --noconfirm
# Установка стандартного набора
echo "---Install default software---"
for software_list in openssh git zsh lsd bat dust duf procs dog fd gtop curlie micro screen tldr
do
sudo pacman -S --noconfirm $software_list
done
# Установка Docker'а и сопутствующих
echo "---Install Docker---"
sudo pacman -S --noconfirm docker docker-compose
# Дополнения и настройка для ZSH
curl https://raw.githubusercontent.com/AdamsGH/linux_config/main/.zshenv > ~/.zshenv
mkdir -p ~/.config/zsh
curl https://raw.githubusercontent.com/AdamsGH/linux_config/main/.config/zsh/.zshrc > ~/.config/zsh/.zshrc
curl https://raw.githubusercontent.com/AdamsGH/linux_config/main/.config/zsh/.alias.zsh > ~/.config/zsh/.alias.zsh
curl https://raw.githubusercontent.com/AdamsGH/linux_config/main/.config/zsh/.p10k.zsh > ~/.config/zsh/.p10k.zsh
chsh --shell /bin/zsh $USER
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.config/zsh/powerlevel10k