Перевёл dotfiles на stow

This commit is contained in:
Alexander Neonxp Kiryukhin 2025-06-09 13:43:45 +03:00
parent 27416cef99
commit 0871b17dcd
Signed by: NeonXP
SSH key fingerprint: SHA256:SVt7TjxbVc87m1QYaQziOJ0N3OCFURv2g76gD/UTTXI
172 changed files with 1292 additions and 100 deletions

View file

@ -1,20 +1,4 @@
pwd = $(shell pwd)
.PHONY: all
all: dotfiles
# dotfiles
.PHONY: dotfiles
dotfiles: ~/.gitconfig ~/.gitignore ~/.config/zsh ~/.config/nvim ~/.zshrc
~/.gitconfig:
ln -s $(pwd)/git/config ~/.gitconfig || true
~/.gitignore:
ln -s $(pwd)/git/ignore ~/.gitignore || true
~/.config/nvim:
ln -s $(pwd)/nvim ~/.config/nvim || true
~/.config/zsh:
ln -s $(pwd)/zsh ~/.config/zsh || true
~/.zshrc:
@ln -s $(pwd)/zsh/zshrc ~/.zshrc || true
all:
stow -v -t ~/.config config
stow -v zsh
stow -v git