From aad84a4c691803e93ade131f4c03af80efca9793 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Tue, 29 Jul 2025 23:46:16 +0200 Subject: [PATCH 1/2] Add pareset alias for papis cache reset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added 'pareset' shell alias that runs 'papis cache reset' - Placed in the cache management section of shell aliases - Provides quick access to reset papis database cache 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- modules/papis.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/papis.nix b/modules/papis.nix index 7032656..76f94ae 100644 --- a/modules/papis.nix +++ b/modules/papis.nix @@ -56,6 +56,9 @@ # Open documents paopen = "papis open"; + + # Cache management + pareset = "papis cache reset"; }; # Shell functions for papis workflow From b85d474f6e75f096aa2dbecf5668cffa8972fc2d Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Tue, 29 Jul 2025 23:49:16 +0200 Subject: [PATCH 2/2] Update claude settings --- .claude/settings.json | 3 ++- CLAUDE.md | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.claude/settings.json b/.claude/settings.json index 8c04397..26fad48 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -2,7 +2,8 @@ "permissions": { "allow": [ "Bash(git:*)", - "Bash(exec zsh)" + "Bash(exec:*)", + "Bash(hms:*)" ], "deny": [] } diff --git a/CLAUDE.md b/CLAUDE.md index 3cebab0..b6698b7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,3 +4,7 @@ - When you are going to introduce update to my nix config, do it on a experimental branch (use 'nightly'), and commit and push to that branch after you perform test to check the updates work as intended. Never work on the master branch which I will perform merge manually. - After you introduce updates, remember to reflect those updates in the readme, should they bring any changes. - You can use `hms` to perform home-manager switch and `exec zsh` to refresh shell environment + +## Testing Considerations + +- When you perform testing, remember you are in a non-interactive shell so things work for me might not work for your testing, unless you take your special testing environment into consideration \ No newline at end of file