diff --git a/README.md b/README.md index a4de3c25..05c4bc09 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,8 @@ aicommits aicommits --dry-run ``` +> 👉 **Tip:** Use the `aic` alias if `aicommits` is too long for you. + ### Git hook You can also integrate _aicommits_ with Git via the [`prepare-commit-msg`](https://git-scm.com/docs/githooks#_prepare_commit_msg) hook. This lets you use Git like you normally would, and edit the commit message before committing. diff --git a/package.json b/package.json index 86a6bb39..a57c0ab0 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,10 @@ "files": [ "dist" ], - "bin": "./dist/cli.mjs", + "bin": { + "aicommits": "./dist/cli.mjs", + "aic": "./dist/cli.mjs" + }, "scripts": { "prepare": "simple-git-hooks", "build": "pkgroll --minify",