-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
executable file
·70 lines (53 loc) · 1.23 KB
/
install.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
mkdir ~/pkg
# git
pacman -S --needed git
# yay
(
git clone https://aur.archlinux.org/yay.git ~/pkg/yay
cd ~/pkg/yay
makepkg -si
)
# packages/aur
yay -S --noconfirm \
aws-cli-v2 \
chromium \
feh \
helix \
i3-wm \
polybar \
ripgrep \
ttf-inconsolata \
xorg-server \
xorg-xinit \
# st
(
git clone https://git.suckless.org/st ~/pkg/st && cd ~/pkg/st
ln -s ~/dotfiles/colors.h ~/pkg/st/colors.h
cp config.def.h config.h
mkdir ./patches
curl -o ./patches/workingdir.diff \
https://st.suckless.org/patches/workingdir/st-workingdir-20200317-51e19ea.diff
curl -o ./patches/scrollback.diff \
https://st.suckless.org/patches/scrollback/st-scrollback-ringbuffer-0.9.2.diff
ls -1 ./patches | xargs -I patchfile patch -i ./patches/patchfile
make clean install
)
# node
curl https://get.volta.sh | bash
volta install node
# bun
curl -fsSL https://bun.sh/install | bash
# rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# language servers
yay -S --noconfirm \
clang \
marksman \
rustup component add rust-analyzer
npm i -g \
bash-language-server \
vscode-langservers-extracted \
typescript \
typescript-language-server \
@vue/language-server \
@vue/typescript-plugin \