-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.sh
executable file
·87 lines (68 loc) · 2.29 KB
/
bootstrap.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
76
77
78
79
80
81
82
83
84
85
86
87
#!/bin/bash
sudo pacman -S --noconfirm neovim
sudo pacman -S --noconfirm git
sudo pacman -S --noconfirm python-pynvim
sudo pacman -S --noconfirm zsh
sudo pacman -S --noconfirm wget
sudo pacman -S --noconfirm curl
sudo pacman -S --noconfirm stow
sudo pacman -S --noconfirm fzf
sudo pacman -S --noconfirm ctags
sudo pacman -S --noconfirm ripgrep
sudo pacman -S --noconfirm gdb
mkdir -p ~/install_dir
if [ ! -d "~/install_dir/yay" ]
then
git clone https://aur.archlinux.org/yay.git ~/dotfiles
fi
curl -L http://install.ohmyz.sh | sh
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k
rm ~/.zshrc
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
sudo pacman -S --noconfirm npm
sudo pacman -S --noconfirm python-pylint
sudo pacman -S --noconfirm autopep8
sudo pacman -S --noconfirm python-virtualenv
yay -S --noconfirm bear
sudo pacman -S --noconfirm ccls
yay -S --noconfirm lscolors-git
yay -S --noconfirm rustup
rustup toolchain install stable
rustup default stable
rustup component add rls rust-analysis rust-src
sudo npm install -g neovim
stow background
stow ctags
stow fontconfig
stow i3
stow nvim
stow picom
stow polybar
stow powerlevel10k
stow ranger
stow termite
stow zsh
nvim --headless +'PlugInstall --sync' +qall
sudo pacman -S --noconfirm openssh
sudo pacman -S --noconfirm xorg-xfd
sudo pacman -S --noconfirm ttf-hack
sudo pacman -S --noconfirm i3-gaps
sudo pacman -S --noconfirm i3status
sudo pacman -S --noconfirm picom
sudo pacman -S --noconfirm feh
yay -S --noconfirm siji-git
sudo pacman -S --noconfirm ttf-dejavu
sudo pacman -S --noconfirm ttf-font-awesome
yay -S --noconfirm ttf-unifont
fc-cache -f -v
yay -S --noconfirm polybar
yay -S --noconfirm ttf-ms-fonts
sudo pacman -S --noconfirm ranger
sudo pacman -S --noconfirm rofi
LINE='/usr/sbin/zsh'
FILE='/etc/shells'
grep -qF -- "$LINE" "$FILE" || echo "$LINE" | sudo tee -a /etc/shells
chsh -s $(which zsh)
zsh -l