♻️ Added y/n to github pat prompt
This commit is contained in:
parent
21e63d5f56
commit
20ea847283
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ if [ $numrepos -eq 0 ] ; then
|
||||||
|
|
||||||
# bgit uses github api if github.com is defined as host site
|
# bgit uses github api if github.com is defined as host site
|
||||||
if [[ -n $host && $host="github.com" ]] ; then
|
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 $HOME/.gh_pat doesn't exist, then exits
|
||||||
if [[ ! -f $HOME/.gh_pat ]]; then
|
if [[ ! -f $HOME/.gh_pat ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue