From 3accc54d650c811978990b506a20f7e143ca5920 Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Wed, 6 May 2026 00:29:49 +0200 Subject: update flake and fix claude commit generator --- modules/home/lazygit.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/home/lazygit.nix b/modules/home/lazygit.nix index da8996a..124a6a1 100644 --- a/modules/home/lazygit.nix +++ b/modules/home/lazygit.nix @@ -11,7 +11,7 @@ context: "files" description: "Generate commit message with Claude Code" command: > - git diff --staged | $HOME/.local/bin/claude -p 'Generate a concise git commit message for these staged changes. + git diff --staged | ATT_SKIP_HOOKS=1 $HOME/.local/bin/claude -p 'Generate a concise git commit message for these staged changes. Output ONLY the raw commit message with no markdown, no code blocks, no backticks, no explanations. Use conventional commit format.' --model haiku --output-format text > /tmp/commit_msg && GIT_EDITOR=nvim git commit -e -F /tmp/commit_msg -- cgit v1.2.3