From f621301ef38463216a40b846aa4746df51599749 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 21 Jun 2025 21:20:23 +0400 Subject: fix(zsh): create zsh history cache file in installation --- Makefile | 9 ++++++--- 1 file 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 = /d' config/git/gitconfig > $(GITCONFIG) -- cgit v1.2.3