-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
124 lines (106 loc) · 2.38 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
UNAME_OS := $(shell lsb_release -si)
REPO_PATH=~/src
~/.config/wezterm/:
mkdir -p $@
~/.config/wezterm/wezterm.lua: ~/.config/wezterm/
mkdir -p ~/.config/wezterm
ln -s $(REPO_PATH)/dotfiles/wezterm.lua $@
.PHONY: install
install: pre-install ~/.zshrc ~/.config/wezterm/wezterm.lua
echo "Done"
~/.local/share/nvim/site/autoload/plug.vim:
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
~/.bash_aliases:
ln -s `pwd`/bash_aliases $@
# .PHONY: delete-vimrc
# delete-vimrc:
# mkdir -p ~/.config/nvim
# rm -f ~/.config/nvim/init.vim
#
# ~/.vimrc: delete-vimrc
#
# ln -s `pwd`/vimrc ~/.config/nvim/init.vim
~/.screenrc:
ln -s `pwd`/screenrc $@
~/.tmux.conf:
ln -s `pwd`/tmux.conf $@
~/.gitignore_global:
ln -s `pwd`/gitignore_global $@
~/src/mellow.nvim:
git clone [email protected]:kvrohit/mellow.nvim.git ~/src/mellow.nvim
~/.config/wezterm/colors/mellow.toml: ~/src/mellow.nvim
mkdir -p ~/.config/wezterm/colors
ln -s ~/src/mellow.nvim/extras/wezterm/colors/mellow.toml $@
~/.config/starship.toml:
ln -s `pwd`/starship.toml $@
.PHONY: pre-install
pre-install: ~/.bash_aliases ~/.gitignore_global ~/.screenrc ~/.tmux.conf ~/.config/wezterm/colors/mellow.toml ~/.config/starship.toml
ifeq ($(UNAME_OS),ManjaroLinux)
sudo pamac install \
zsh \
oh-my-zsh \
ruby \
terraform \
neovim \
powerline-fonts \
go \
github-cli \
gitg \
gcc \
zig \
ripgrep \
docker \
docker-compose \
krew \
pyenv \
thunderbird \
direnv \
pyenv-virtualenv \
bat \
gitui \
ttf-fira-code \
wezterm \
mcfly \
prettier \
taplo \
shellcheck \
starship \
zplug \
sqlfluff \
code-minimap
else ($(UNAME_OS),EndeavourOS)
pacman -Syu
zsh \
ruby \
terraform \
neovim \
go \
github-cli \
gitg \
gcc \
zig \
ripgrep \
docker \
docker-compose \
pyenv \
thunderbird \
direnv \
pyenv-virtualenv \
bat \
gitui \
ttf-fira-code \
wezterm \
prettier \
shellcheck \
starship \
sqlfluff \
gnome-browser-connector \
rustup \
difftastic \
bat
yay code-minimap oh-my-zsh taplo krew coursier metals
endif
git config --global core.excludesfile ~/.gitignore_global
# Conveniant services to activate
# systemctl --user enable gcr-ssh-agent.service
# systemctl --user enable ssh-agent.service