summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2024-05-24 22:40:48 -0400
committerMatt Turner <mattst88@gmail.com>2024-05-25 00:03:44 -0400
commit6ed5e0e71239954d2468f4a0cd268076ec3bf4d0 (patch)
tree8c4e92ef529ec363bdc301bc808a171a10ed98a5
parent6d8eddcde8982d9abd01b29df0cb626c110f26b3 (diff)
Makefile: Use --no-folding
This avoids symlinking whole directories, which means that they are able to contain files that are not in the dotfiles repo. For example, ~/.config/tmux/plugins/.
-rw-r--r--.gitignore1
-rw-r--r--Makefile10
2 files changed, 5 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 2a2a6f8..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-nvim/.config/nvim/lazy-lock.json
diff --git a/Makefile b/Makefile
index e4bb7af..86ac73f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1,23 @@
stow_dirs = $(wildcard */)
.PHONY : stow
stow :
- stow --target $(HOME) --verbose $(stow_dirs)
+ stow --no-folding --target $(HOME) --verbose $(stow_dirs)
.PHONY : stow-verbose
# verbosity goes from 0 to 4
VERBOSITY=1
stow-verbose :
- stow --verbose $(VERBOSITY) --target $(HOME) --verbose $(stow_dirs)
+ stow --verbose $(VERBOSITY) --no-folding --target $(HOME) --verbose $(stow_dirs)
.PHONY : dry-run
dry-run :
- stow --no --target $(HOME) --verbose $(stow_dirs)
+ stow --no --no-folding --target $(HOME) --verbose $(stow_dirs)
.PHONY : restow
restow :
- stow --target $(HOME) --verbose --restow $(stow_dirs)
+ stow --no-folding --target $(HOME) --verbose --restow $(stow_dirs)
# Do this *before* moving to another directory.
.PHONY : delete
delete :
- stow --target $(HOME) --verbose --delete $(stow_dirs)
+ stow --no-folding --target $(HOME) --verbose --delete $(stow_dirs)