From 680d80177087f9e720b93e588c53bc7b89c861a4 Mon Sep 17 00:00:00 2001 From: Jorge Morante Date: Fri, 12 Jan 2024 10:22:30 +0100 Subject: [PATCH] cache dir should be at root, logs at tmp --- src/fingers/dirs.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fingers/dirs.cr b/src/fingers/dirs.cr index 70d7b0d..23aee4f 100644 --- a/src/fingers/dirs.cr +++ b/src/fingers/dirs.cr @@ -8,8 +8,8 @@ module Fingers::Dirs TMP = Path[File.dirname(File.tempname)] ROOT = TMP / "tmux-#{TMUX_PID}" - LOG_PATH = ROOT / "fingers.log" - CACHE = TMP / "tmux-fingers" + LOG_PATH = TMP / "fingers.log" + CACHE = ROOT / "tmux-fingers" CONFIG_PATH = CACHE / "config.json" SOCKET_PATH = CACHE / "fingers.sock"