summaryrefslogtreecommitdiff
path: root/internal/tmuxedit
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-11 20:48:01 +0200
committerPaul Buetow <paul@buetow.org>2026-02-11 20:48:01 +0200
commit8312a19b4e1f9849aae9912433824b19e03a8daf (patch)
tree8ca381d8a6549e94b15a5c65f688a353f0da98ca /internal/tmuxedit
parent97b8887fb3448fd08524111d98425859bec8789f (diff)
refactor: consolidate cache and state into .local/hexai directory
Move all cache and state files under ~/.local/hexai/ with subdirectories: - ~/.local/hexai/cache/ (was ~/.cache/hexai/) - ~/.local/hexai/state/ (was ~/.local/state/hexai/) - ~/.local/hexai/data/ (was ~/.local/share/hexai/) This centralizes all non-config hexai files under a single .local/hexai directory, making it easier to manage and back up user data. Amp-Thread-ID: https://ampcode.com/threads/T-019c4e03-73db-70a2-ae27-3e1cc31d59c3 Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'internal/tmuxedit')
-rw-r--r--internal/tmuxedit/history_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tmuxedit/history_test.go b/internal/tmuxedit/history_test.go
index 8a3d8af..6d369fe 100644
--- a/internal/tmuxedit/history_test.go
+++ b/internal/tmuxedit/history_test.go
@@ -22,7 +22,7 @@ func TestAppendHistory(t *testing.T) {
}
// Verify file was created
- historyPath := filepath.Join(tmpDir, "hexai", "tmux-edit-history.jsonl")
+ historyPath := filepath.Join(tmpDir, "state", "tmux-edit-history.jsonl")
if _, err := os.Stat(historyPath); err != nil {
t.Fatalf("history file not created: %v", err)
}