on main help sign in
feat: add `.crush` automatically to `.gitignore` on initializing
commit65e734689c2d36259a9b174783c4ad6bc81d88c4 authorAndrey Nering <andreynering@users.noreply.github.com> dateFri 13 Jun 2025, 15:29 (1 year ago) parent6f2809c
2 files changed+4−2
internal/tui/components/dialogs/commands/commands.go+2−1 internal/tui/components/dialogs/init/init.go+2−1
internal/tui/components/dialogs/commands/commands.go+2−1
@@ -239,7 +239,8 @@ func (c *commandDialogCmp) defaultCommands() []Command {
239239
240240 The file you create will be given to agentic coding agents (such as yourself) that operate in this repository. Make it about 20 lines long.
241241 If there's already a CRUSH.md, improve it.
242− If there are Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include them.`
242+ If there are Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include them.
243+ Add the .crush directory to the .gitignore file if it's not already there.`
243244 return util.CmdHandler(chat.SendMsg{
244245 Text: prompt,
245246 })
internal/tui/components/dialogs/init/init.go+2−1
@@ -180,7 +180,8 @@ func (m *initDialogCmp) handleInitialization(initialize bool) tea.Cmd {
180180
181181The file you create will be given to agentic coding agents (such as yourself) that operate in this repository. Make it about 20 lines long.
182182If there's already a CRUSH.md, improve it.
183−If there are Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include them.`
183+If there are Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include them.
184+Add the .crush directory to the .gitignore file if it's not already there.`
184185
185186 // Mark the project as initialized
186187 if err := config.MarkProjectInitialized(); err != nil {