fix(instructions): refresh startup rule when custom instructions change

This commit is contained in:
Julian lechner committed 2026-10-08 15:16:19 +02:00
1 parent 83091d247a
commit b1170604eb
4 files changed
+166

No files matched your search

+3
View File
@@ -7,6 +7,8 @@ import stat
import tempfile
from pathlib import Path
from personal_instructions import refresh
def remove_instruction(path: Path, instruction: str) -> bool:
if not path.exists():
@@ -75,6 +77,7 @@ def main() -> int:
print(f'Instruction removed for {target}.')
else:
print(f'Instruction not found for {target}.')
refresh(home, target)
return 0