-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (24 loc) · 866 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (24 loc) · 866 Bytes
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
# Variables
DIRS = $(notdir $(wildcard config/*))
update:
@rm -rf config/zsh/plugins
@for d in $(DIRS); do \
cp -r ~/.config/$$d config; \
done
@echo "Dotfiles updated successfully."
install:
@for d in $(DIRS); do \
cp -rv config/$$d ~/.config/; \
done
@for f in $(FILES); do \
cp $$f ~; \
done
@# nvim plugin manager
git clone --depth 1 https://github.com/wbthomason/packer.nvim \
~/.local/share/nvim/site/pack/packer/start/packer.nvim
@# zsh plugins
@mkdir -p ~/.config/zsh/plugins/
git clone https://github.com/hlissner/zsh-autopair.git ~/.config/zsh/plugins/zsh-autopair
git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.config/zsh/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.config/zsh/plugins/zsh-syntax-highlighting
@echo "Dotfiles installed successfully."