Skip to content

Instantly share code, notes, and snippets.

View itsgg's full-sized avatar
🎯
The Architect

Ganesh Gunasegaran itsgg

🎯
The Architect
View GitHub Profile
@itsgg
itsgg / aireview.sh
Created January 14, 2025 13:22
Auto-Review Git Changes
git config --global alias.review '!f() { git add -A && git diff --staged | sgpt \"Generate a detailed code review\"; }; f'
@itsgg
itsgg / aicommit.sh
Last active January 14, 2025 13:13
Auto-Generate Git Commit Messages with Shell-GPT
git config --global alias.aicommit '!f() { git add -A && git diff --staged | sgpt "Create a concise commit message with: summary (50 chars) + optional bullet points for details. Do not add headings." | git commit -F -; }; f'
@itsgg
itsgg / oxide.zsh-theme
Created January 6, 2025 15:14
Oxide OMZ theme
# Oxide theme for Zsh
#
# Author: Diki Ananta <[email protected]>
# Repository: https://github.com/dikiaap/dotfiles
# License: MIT
# Prompt:
# %F => Color codes
# %f => Reset color
# %~ => Current path