refactor struct
This commit is contained in:
13
Makefile
13
Makefile
@@ -1,8 +1,11 @@
|
|||||||
# prefer this if stow is available
|
# prefer this if stow is available
|
||||||
.PHONY: stow
|
.PHONY: stow unstow
|
||||||
stow:
|
stow:
|
||||||
stow nvim
|
stow nvim
|
||||||
|
|
||||||
|
unstow:
|
||||||
|
stow -D nvim
|
||||||
|
|
||||||
LN := ln -svf
|
LN := ln -svf
|
||||||
LNDIR := ln -sv
|
LNDIR := ln -sv
|
||||||
|
|
||||||
@@ -10,14 +13,20 @@ DOTFILES_DIR := $(shell pwd)
|
|||||||
TARGET_DIR := $(HOME)
|
TARGET_DIR := $(HOME)
|
||||||
|
|
||||||
# if stow is not available, symlink configs instead
|
# if stow is not available, symlink configs instead
|
||||||
.PHONY: link
|
.PHONY: link unlink
|
||||||
link: nvim
|
link: nvim
|
||||||
|
|
||||||
|
unlink: unnvim
|
||||||
|
|
||||||
.PHONY: nvim
|
.PHONY: nvim
|
||||||
nvim:
|
nvim:
|
||||||
rm -rf $(TARGET_DIR)/.config/nvim
|
rm -rf $(TARGET_DIR)/.config/nvim
|
||||||
$(LNDIR) $(DOTFILES_DIR)/nvim/.config/nvim $(TARGET_DIR)/.config/nvim
|
$(LNDIR) $(DOTFILES_DIR)/nvim/.config/nvim $(TARGET_DIR)/.config/nvim
|
||||||
|
|
||||||
|
.PHONY: unnvim
|
||||||
|
unnvim:
|
||||||
|
rm -rf $(TARGET_DIR)/.config/nvim
|
||||||
|
|
||||||
.PHONY: git
|
.PHONY: git
|
||||||
git:
|
git:
|
||||||
rm -f $(TARGET_DIR)/.gitconfig
|
rm -f $(TARGET_DIR)/.gitconfig
|
||||||
|
|||||||
2
install-scripts/ghostty-fedora.sh
Executable file
2
install-scripts/ghostty-fedora.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
sudo dnf copr enable scottames/ghostty
|
||||||
|
sudo dnf install ghostty
|
||||||
Reference in New Issue
Block a user