dotfiles/Makefile

28 lines
655 B
Makefile
Raw Permalink Normal View History

2022-07-13 17:01:06 +03:00
pwd = $(shell pwd)
.PHONY: all
2024-07-02 19:27:40 +03:00
all: /usr/bin/nvim dotfiles golibs
2022-07-13 17:01:06 +03:00
.PHONY: golibs
2024-07-02 19:27:40 +03:00
golibs:
2022-07-13 17:01:06 +03:00
go install github.com/goreleaser/goreleaser@latest
go install github.com/mkchoi212/fac@latest
# dotfiles
.PHONY: dotfiles
2024-07-02 19:27:40 +03:00
dotfiles: ~/.gitconfig ~/.gitignore ~/.config/zsh ~/.config/nvim ~/.zshrc ~/.config/kitty
2022-07-13 17:01:06 +03:00
~/.gitconfig:
2024-07-13 03:30:15 +03:00
ln -s $(pwd)/git/config ~/.gitconfig || true
2022-07-13 17:01:06 +03:00
~/.gitignore:
2024-07-13 03:30:15 +03:00
ln -s $(pwd)/git/ignore ~/.gitignore || true
2024-02-18 15:18:56 +03:00
~/.config/nvim:
2024-07-13 03:30:15 +03:00
ln -s $(pwd)/nvim ~/.config/nvim || true
2022-07-13 17:01:06 +03:00
~/.config/zsh:
2024-07-13 03:30:15 +03:00
ln -s $(pwd)/zsh ~/.config/zsh || true
2022-07-13 17:01:06 +03:00
~/.zshrc:
2024-02-18 15:18:56 +03:00
@ln -s $(pwd)/zsh/zshrc ~/.zshrc || true
2024-07-02 19:27:40 +03:00
~/.config/kitty:
@ln -s $(pwd)/kitty ~/.config/kitty || true