diff --git a/README.md b/README.md index 16125b7..19cbcfb 100644 --- a/README.md +++ b/README.md @@ -4,27 +4,26 @@ This project is based on [Conventional Commits](https://www.conventionalcommits. ## Commands -| Command | Returns | -| --------------------- | ------------------------------- | -| `git feat ` | feat: message | -| `git feat ` | feat(scope): message | -| `git docs ` | docs: message | -| `git docs ` | docs(scope): message | -| `git chore ` | chore: message | -| `git chore ` | chore(scope): message | -| `git fix ` | fix: message | -| `git fix ` | fix(scope): message | -| `git refactor ` | refactor: message | -| `git refactor ` | refactor(scope): message | -| `git style ` | style: message | -| `git style ` | style(scope): message | -| `git test ` | test: message | -| `git test ` | test(scope): message | -| `git build ` | build: message | -| `git build ` | build(scope): message | -| `git perf ` | perf: message | -| `git perf ` | perf(scope): message | - +| Command | Returns | +| -------------------------------- | ------------------------ | +| `git feat ` | feat: message | +| `git feat ` | feat(scope): message | +| `git docs ` | docs: message | +| `git docs ` | docs(scope): message | +| `git chore ` | chore: message | +| `git chore ` | chore(scope): message | +| `git fix ` | fix: message | +| `git fix ` | fix(scope): message | +| `git refactor ` | refactor: message | +| `git refactor ` | refactor(scope): message | +| `git style ` | style: message | +| `git style ` | style(scope): message | +| `git test ` | test: message | +| `git test ` | test(scope): message | +| `git build ` | build: message | +| `git build ` | build(scope): message | +| `git perf ` | perf: message | +| `git perf ` | perf(scope): message | ## Install @@ -37,7 +36,7 @@ git clone git@github.com:imcvampire/git-semantic-commit.git ~/.git-semantic-comm Then add the folder to your `$PATH` in `~/.bashrc` or `~/.zshrc`, respectively: ```sh -export PATH=$PATH:$HOME/.git-semantic-commits:$PATH +export PATH=$PATH:$HOME/.git-semantic-commits ``` Save and source the changes: @@ -45,7 +44,7 @@ Save and source the changes: ```sh source ~/.bashrc # if using Bash source ~/.zshrc # if using Zsh -`````` +``` That's it! Enjoy your workflow and consistency improvements 🎉 diff --git a/install.sh b/install.sh index be9e5cb..1205a35 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,5 @@ # !/bin/bash -export PATH=$PATH:$HOME/.git-semantic-commits:$PATH +export PATH=$PATH:$HOME/.git-semantic-commits bashrc=$HOME"/.bashrc" zshrc=$HOME"/.zshrc" @@ -8,7 +8,7 @@ packageDir=$(pwd) if [ -f "$bashrc" ] then echo "Installing on Bash" - dir="export PATH=$PATH:$HOME/.git-semantic-commits:$PATH" + dir="export PATH=$PATH:$HOME/.git-semantic-commits" echo "" >> $zshrc echo "#git-semantic-commits (delete this lines to 'uninstall' commands)" >> $bashrc @@ -18,7 +18,7 @@ fi if [ -f "$zshrc" ] then echo "Installing on ZSH" - dir="export PATH=$PATH:$packageDir:$PATH" + dir="export PATH=$PATH:$packageDir" echo "" >> $zshrc echo "#git-semantic-commits (delete this lines to 'uninstall' commands)" >> $zshrc