summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-06-21 21:20:23 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-06-21 21:20:23 +0400
commitf621301ef38463216a40b846aa4746df51599749 (patch)
treefb276fabab1db5d6da8fc629eb257f637883509a
parent6a3feffb770d042abb86e97a0c57d2d73122b734 (diff)
fix(zsh): create zsh history cache file in installation
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ad2fc39..70861a6 100644
--- a/Makefile
+++ b/Makefile
@@ -19,11 +19,12 @@ TESTPROJDIR = $(HOME)/tproj
BINDIR = $(HOME)/.local/bin
FONTDIR = $(HOME)/.local/share/fonts/
-BASHRC = $(HOME)/.bashrc
-ZSHRC = $(HOME)/.zshrc
-ZPROFILE = $(HOME)/.zprofile
BASHPROFILE = $(HOME)/.bash_profile
+BASHRC = $(HOME)/.bashrc
GITCONFIG = $(HOME)/.gitconfig
+ZCACHE = $(HOME)/.cache/zsh/history
+ZPROFILE = $(HOME)/.zprofile
+ZSHRC = $(HOME)/.zshrc
COPY = cp -r
LINK = ln -sf
@@ -53,6 +54,8 @@ config:
$(COPY) config/sites/bookmarks.txt $(CONFDIR)/sites
$(LINK) $(CONFDIR)/shell/profile $(BASHPROFILE)
$(LINK) $(CONFDIR)/shell/profile $(ZPROFILE)
+ mkdir -p $$(dirname $(ZCACHE))
+ touch $(ZCACHE)
git:
sed '/# signingkey = <to be set manually>/d' config/git/gitconfig > $(GITCONFIG)