-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
98 lines (91 loc) · 1.71 KB
/
Makefile
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
88
89
90
91
92
93
94
95
96
97
.PHONY: arch-packages
arch-packages:
sudo pacman -S \
zsh \
git \
xorg-xrandr \
base-devel \
coreutils \
xsel \
man \
stow \
vim \
neovim \
tmux \
ripgrep \
fzf \
fd \
sad \
entr \
parallel \
jq \
yq \
timeshift \
alacritty \
ttf-jetbrains-mono-nerd \
git-delta \
podman \
kubectl \
minikube \
nodejs \ # needed for some Mason LSPs
npm \ # needed for some Mason LSPs
python \
go
.PHONY: arch-aur-packages
ifeq (, $(shell command -v yay 2> /dev/null))
arch-aur-packages: yay
else
arch-aur-packages:
endif
yay -S golangci-lint
.PHONY: arch-yay
arch-yay:
mkdir -p ~/dev/aur/
git clone https://aur.archlinux.org/yay.git ~/dev/aur/yay
cd ~/dev/aur/yay && makepkg -si
yay -Y --gendb
yay -Syu --devel
yay -Y --devel --save
.PHONY: osx-packages
osx-packages:
brew install \
coreutils \
bash \
stow \
vim \
neovim \
tmux \
ripgrep \
fzf \
fd \
sad \
entr \
parallel \
jq \
yq \
git-delta \
podman \
kubectl \
nodejs \ # needed for some Mason LSPs
npm \ # needed for some Mason LSPs
python \
go
brew install --cask \
alacritty \
font-jetbrains-mono-nerd-font
.PHONY: osx-shims
osx-shims:
# https://gist.github.com/bbqtd/a4ac060d6f6b9ea6fe3aabe735aa9d95
# fix osx tmux colors
curl -LO https://invisible-island.net/datafiles/current/terminfo.src.gz && gunzip terminfo.src.gz
/usr/bin/tic -xe tmux-256color terminfo.src
rm terminfo.src
sudo sh -c 'echo /usr/local/opt/bash/bin/bash >> /etc/shells'
.PHONY: common
common:
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
.PHONY: link
link:
stow -t "${HOME}" .
sudo stow -d ./bin -t /usr/local/bin .
sudo stow -d ./etc/X11/xorg.conf.d -t /etc/X11/xorg.conf.d .