git alias

This commit is contained in:
Roman Volovoy
2026-06-05 19:30:55 +02:00
parent dbb47e6933
commit 5969d29704
2 changed files with 12 additions and 0 deletions

View File

@@ -24,11 +24,19 @@ LNDIR := ln -sv
DOTFILES_DIR := $(shell pwd)
TARGET_DIR := $(HOME)
.PHONY: all
all: nvim git
.PHONY: nvim
nvim:
rm -rf $(TARGET_DIR)/.config/nvim
$(LNDIR) $(DOTFILES_DIR)/nvim/.config/nvim $(TARGET_DIR)/.config/nvim
.PHONY: git
git:
rm -f $(TARGET_DIR)/.gitconfig
$(LN) $(DOTFILES_DIR)/git/.gitconfig $(TARGET_DIR)/.gitconfig
# zsh:
# $(LN) ./zsh/.zshrc ~/.zshrc
# $(LN) ./zsh/.zprofile ~/.zprofile