Skip to content

Commit 08a2add

Browse files
committed
zsh : fn ai-commit (commit via codex avec spinner gum) dans fns/git
1 parent 9a409ec commit 08a2add

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • common-no-omarchy/config/zsh/fns
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Let codex commit pending changes, hiding its output (shown only on failure)
2+
ai-commit() {
3+
gum spin --show-error --title "Commit en cours…" -- codex exec "Commit les modifications en attente" --yolo \
4+
&& echo "Commit terminé"
5+
}

0 commit comments

Comments
 (0)