Перевёл dotfiles на stow
This commit is contained in:
parent
27416cef99
commit
ced56f9e70
172 changed files with 1292 additions and 100 deletions
24
Makefile
24
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue