Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
51 lines (44 loc) · 1.57 KB
/
Copy pathMakefile
File metadata and controls
51 lines (44 loc) · 1.57 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
install:
bash bootstrap.sh
brew-dump:
brew bundle dump --file=Brewfile --force
brew-install:
brew bundle install --file=Brewfile --no-lock
sync-symlinks:
mkdir -p ~/.config/wezterm
ln -sf $(PWD)/wezterm.lua ~/.config/wezterm/wezterm.lua
mkdir -p ~/.config/ghostty
ln -sf $(PWD)/ghostty/config ~/.config/ghostty/config
ln -sf $(PWD)/tmux.conf ~/.tmux.conf
ln -sf $(PWD)/aliases ~/.aliases
ln -sf $(PWD)/gitconfig ~/.gitconfig
ln -sf $(PWD)/tool-versions ~/.tool-versions
mkdir -p ~/.config/fish/functions/
ln -sf $(PWD)/fish/config.fish ~/.config/fish/config.fish
ln -sf $(PWD)/fish/fish_variables ~/.config/fish/fish_variables
ln -sf $(PWD)/fish/functions/fish_promt.fish ~/.config/fish/functions/fish_promt.fish
ln -sf $(PWD)/fish/functions/fish_user_key_bindings.fish ~/.config/fish/functions/fish_user_key_bindings.fish
nvim-configure:
rm -rf nvim/plugin || exit 0
rm -rf ~/.local/share/nvim || exit 0
rm -rf ~/.config/nvim || exit 0
mkdir -p ~/.config
ln -snf $(PWD)/nvim ~/.config/nvim
@echo "Configured Neovim (full) at ~/.config/nvim"
nvim-configure-minimal:
rm -rf nvim/plugin || exit 0
rm -rf nvim12/plugin || exit 0
rm -rf ~/.local/share/nvim || exit 0
rm -rf ~/.config/nvim || exit 0
mkdir -p ~/.config
ln -snf $(PWD)/nvim12 ~/.config/nvim
@echo "Configured Neovim (minimal) at ~/.config/nvim"
nvim-status:
@if [ -L ~/.config/nvim ]; then \
echo "Current Neovim config: $$(readlink ~/.config/nvim)"; \
else \
echo "Neovim not configured"; \
fi
install-tmux-plugin-manager:
- mkdir ~/.tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm