♻️ Added y/n to github pat prompt

This commit is contained in:
z3rOR0ne 2022-07-20 07:36:50 -07:00
parent 21e63d5f56
commit 20ea847283

View file

@ -137,7 +137,7 @@ if [ $numrepos -eq 0 ] ; then
# bgit uses github api if github.com is defined as host site
if [[ -n $host && $host="github.com" ]] ; then
read -e -r -p "${txtwhite}Host site is github.com, would you like bgit to create the repository?: " crepo
read -e -r -p "${txtwhite}Host site is github.com, would you like bgit to create the repository?(y/n): " crepo
# if $HOME/.gh_pat doesn't exist, then exits
if [[ ! -f $HOME/.gh_pat ]]; then