Fix patag function to rewrite tags instead of adding

- Changed patag function to drop existing tags before adding new ones
- Fixed tag parsing to properly split on '#' separator using tr command
- Tags are now stored as individual entries instead of single string
- Function now properly rewrites tags instead of adding to existing ones

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Yan Lin 2025-07-29 23:36:28 +02:00
parent 2b47bfba47
commit a061ecbdf2
2 changed files with 9 additions and 12 deletions

View file

@ -2,4 +2,5 @@
- This is my nix configuration system. Whenever you need to introduce update to my config, remember to check the current config.
- When you are going to introduce update to my nix config, do it on a experimental branch (use 'nightly'), and commit 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.
- 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