Skip to content

Commit 2ef50a1

Browse files
committed
chore(install script): updated readme and fixed install.sh
Co-authored-by:
1 parent 2a47e4f commit 2ef50a1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ Sometimes we, the developers, go _full-loco_ while programming and make mistakes
1616
Just follow the commands below:
1717

1818
```bash
19+
$ chmod +x $HOME/.commit-helper/install.sh
20+
21+
$ ./$HOME/.commit-helper/install.sh
22+
23+
# or you could type the commands below
24+
1925
# make sure you have the dependencies installed in your machine and
2026
# have git ready to use
2127
$ sudo apt install python3-pip git

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ pip3 install --user ~/.commit-helper/requirements.txt;
1919

2020
chmod +x $HOME/.commit-helper/generator.py;
2121

22-
echo "commit(){ ./$HOME/.commit-helper/generator.py; }" >> $HOME/.bashrc;
22+
echo "alias commit='./$HOME/.commit-helper/generator.py' >> $HOME/.bashrc;

0 commit comments

Comments
 (0)