updated scripts/bgit
This commit is contained in:
parent
6ca21b7ead
commit
e54c1269ac
1 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ fi
|
||||||
while [ true ]
|
while [ true ]
|
||||||
do
|
do
|
||||||
# Prompts user if they'd like to commit the changes
|
# Prompts user if they'd like to commit the changes
|
||||||
read -r -p "${txtwhite}commit changes?(y/n): ${txtyellow}" change
|
read -e -r -p "${txtwhite}commit changes?(y/n): ${txtyellow}" change
|
||||||
# If the user chooses to commit the changes...
|
# If the user chooses to commit the changes...
|
||||||
if [[ $change == "y" || $change == "yes" ]] ; then
|
if [[ $change == "y" || $change == "yes" ]] ; then
|
||||||
|
|
||||||
|
|
@ -71,7 +71,7 @@ do
|
||||||
while [ true ]
|
while [ true ]
|
||||||
do
|
do
|
||||||
# Prompts the user to input their commit message
|
# Prompts the user to input their commit message
|
||||||
read -r -p "${txtwhite}commit message: ${txtyellow}" message
|
read -e -r -p "${txtwhite}commit message: ${txtyellow}" message
|
||||||
cmessage=("$message")
|
cmessage=("$message")
|
||||||
# if the user inputted a commit message...
|
# if the user inputted a commit message...
|
||||||
if [ -n "$message" ] ; then
|
if [ -n "$message" ] ; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue