#!/bin/sh

globalroots="god
vishnu
yahwe
jehova
myself
ahuramazda
christ
himwhoisthecentralorboftheuniverseitsessenceandultimatepurpose
buddha
hayyrabbi
dravya
brahman
ishvara
atman
qi
allah
elohim
elshaddai
elelyon
rms
iamthatiam
alrahmen
krishna
vishnu
money
nothing"

globalroot="$(printf "%s" "${globalroots}" | shuf -n 1)"
printf "Your global init default branch will be set to: %s\n" \
	"${globalroot}"
printf "Do you want to proceed? [y/N] "
read -r answer
if [ "${answer}" = "y" ];
then
	git config --global init.defaultBranch "${globalroot}"
	printf "Your global init default branch is now: %s\n" \
		"${globalroot}"
fi

