https://github.com/mingeme/zsh-fuckmit
zsh plugin for fuckmit
https://github.com/mingeme/zsh-fuckmit
Last synced: about 1 month ago
JSON representation
zsh plugin for fuckmit
- Host: GitHub
- URL: https://github.com/mingeme/zsh-fuckmit
- Owner: mingeme
- Created: 2025-04-10T11:10:57.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-14T14:41:13.000Z (7 months ago)
- Last Synced: 2025-04-14T17:59:53.737Z (7 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-zsh-plugins - fuckmit - Provides useful aliases and functions for the [fuckmit](https://github.com/mingeme/fuckmit) command-line tool, an AI-powered `git` commit message generator. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - fuckmit - Provides useful aliases and functions for the <b><code> 2⭐</code></b> <b><code> 0🍴</code></b> [fuckmit](https://github.com/mingeme/fuckmit)) command-line tool, an AI-powered `git` commit message generator. (Plugins / ZSH on Windows)
README
# fuckmit Zsh Plugin
A Zsh plugin that provides useful aliases and functions for the [fuckmit](https://github.com/mingeme/fuckmit) command-line tool, an AI-powered git commit message generator.
## Installation
### Using Oh My Zsh
1. Clone this repository into your Oh My Zsh custom plugins directory:
```bash
git clone https://github.com/mingeme/zsh-fuckmit.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-fuckmit
```
2. Add the plugin to your `.zshrc` file:
```bash
plugins=(... zsh-fuckmit)
```
## Aliases
| Alias | Command | Description |
|-------|---------|-------------|
| `fm` | `fuckmit` | Run fuckmit |
| `fmd` | `fuckmit -d` | Generate message without committing (dry run) |
| `fma` | `git add . && fuckmit` | Add all untracked and modified files |
| `fmA` | `git reset HEAD~ --soft && fuckmit` | Amend the last commit |
| `fmAd` | `git reset HEAD~ --soft && fuckmit -d` | Amend last commit dry run |
| `fmm` | `git reset $(git rev-parse --abbrev-ref origin/HEAD) --soft && fuckmit` | Reset to main branch and commit |