Lots of new features in scripts and gitmojis

This commit is contained in:
z3rOR0ne 2022-09-07 23:54:21 -07:00
parent fea727cd52
commit b2dc0c5d54
6 changed files with 632 additions and 4 deletions

View file

@ -39,7 +39,7 @@ tput bold & tput setaf 7
numrepos=$(git remote | wc -l)
# If there are no git repositories in this directory...
if [ $numrepos -eq 0 ] ; then
if [[ $numrepos -eq 0 ]] ; then
echo "${txtgreen}no git repository found, executing git init...${txtwhite}"
while true
do
@ -327,13 +327,13 @@ else
# Let the user know what is staged for commit
if [[ $newfiles ]]; then
echo "${txtgreen} ADDED: ${txtgreen}$newfiles"
echo "${txtgreen}  ADDED: ${txtgreen}$newfiles"
fi
if [[ $modified ]]; then
echo "${txtblue}פֿ MODIFIED: ${txtblue}$modified"
echo "${txtblue} פֿ MODIFIED: ${txtblue}$modified"
fi
if [[ $deleted ]]; then
echo "${txtred} DELETED: ${txtred}$deleted"
echo "${txtred} DELETED: ${txtred}$deleted"
fi
while true