We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8085227 commit 991d15eCopy full SHA for 991d15e
2 files changed
template.sh
@@ -1,5 +1,10 @@
1
#!/bin/bash
2
3
+# Check in this directory git exist
4
+if [ ! -d .git ]; then
5
+ exit 1
6
+fi
7
+
8
# Color formatting
9
RED="\033[0;31m"
10
GREEN="\033[0;32m"
@@ -104,4 +109,3 @@ ${CLOSED_ISSUES}"
104
109
else
105
110
printf "\n${RED}❌ An error occurred. Please try again.${RESET}\n"
106
111
fi
107
-
zsh_gct
@@ -1,2 +1,2 @@
-alias gct='./template.sh'
+alias gct='/home/jakode/git-commit-template/template.sh'
0 commit comments