aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-05-06 00:29:49 +0200
committerSimen A. W. Olsen <hello@simenandre.no>2026-05-06 00:29:49 +0200
commit3accc54d650c811978990b506a20f7e143ca5920 (patch)
treebd443731109ee358ffaa9e035b34cd67fee05b84 /modules/home
parentd0e844c55bee9fc6b67bf78909578aaf1faefd04 (diff)
downloaddotfiles-3accc54d650c811978990b506a20f7e143ca5920.tar.gz
dotfiles-3accc54d650c811978990b506a20f7e143ca5920.zip
update flake and fix claude commit generator
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/lazygit.nix2
1 files changed, 1 insertions, 1 deletions
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