-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathMakefile
More file actions
60 lines (42 loc) · 1.56 KB
/
Makefile
File metadata and controls
60 lines (42 loc) · 1.56 KB
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
.PHONY: all neovim fish git bin claude kitty amp
DIR="${HOME}/dotfiles"
NEOVIM_GIT_DIR="${HOME}/git/neovim"
all:
@echo "Run things individually!"
neovim:
@ln -nsf $(DIR)/nvim ~/.config/nvim
fish:
@ln -nsf $(DIR)/fish ~/.config/fish
git:
@ln -sf $(DIR)/git/gitconfig ~/.gitconfig
@ln -sf $(DIR)/git/gitignore_global ~/.gitignore_global
bin:
@ln -sf $(DIR)/bin ~/.bin
ubuntu-deps:
sudo apt-get install silversearcher-ag fish build-essential tmux ripgrep zip
fisher:
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
language_servers_global:
npm install --global typescript typescript-language-server svelte-language-server diagnostic-languageserver eslint_d vscode-langservers-extracted @johnnymorganz/stylua-bin @fsouza/prettierd emmet-ls
elm_language_servers:
npm install -g elm elm-test elm-format @elm-tooling/elm-language-server
kitty:
@ln -nsf ${DIR}/kitty ~/.config/kitty
amp:
@ln -nsf ${DIR}/amp ~/.config/amp
claude:
@mkdir -p ~/.claude
@ln -sf $(DIR)/claude/settings.json ~/.claude/settings.json
@ln -sf $(DIR)/claude/CLAUDE.md ~/.claude/CLAUDE.md
sync_wezterm_windows:
cp wezterm/wezterm.lua /mnt/c/Users/jack/.wezterm.lua
@mkdir -p /mnt/c/Users/jack/.wezterm/
@test -f wezterm/per_machine.lua && cp wezterm/per_machine.lua /mnt/c/Users/jack/.wezterm/per_machine.lua
symlink_windows_linux:
@ln -nsf $(DIR)/wezterm ~/.config/wezterm
lua_specs:
cd nvim/lua/jack && busted "alternate-files_spec.lua"
npm_globals:
# https://github.com/paulirish/git-recent
npm install --global git-recent
npm install --global @sourcegraph/amp