We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b20d0b5 commit e55eb02Copy full SHA for e55eb02
1 file changed
src/sh/sync-agents.sh
@@ -375,14 +375,15 @@ add_default_gitignore_entries() {
375
if [[ "$line" == "$marker" ]]; then
376
in_section=true
377
# Output the marker
378
- echo "$line" >> "$tmp"
379
- # Output all default entries
380
- echo ".cursor/*" >> "$tmp"
381
- echo "!.cursor/rules" >> "$tmp"
382
- echo ".codex/*" >> "$tmp"
383
- echo "!.codex/instructions.md" >> "$tmp"
384
- echo ".github/copilot/*" >> "$tmp"
385
- echo "!.github/copilot/instructions.md" >> "$tmp"
+ {
+ echo "$line"
+ echo ".cursor/*"
+ echo "!.cursor/rules"
+ echo ".codex/*"
+ echo "!.codex/instructions.md"
+ echo ".github/copilot/*"
+ echo "!.github/copilot/instructions.md"
386
+ } >> "$tmp"
387
continue
388
fi
389
0 commit comments