1
0
Fork 0
mirror of synced 2024-12-22 06:31:07 -05:00

Add choice for GitLab

This commit is contained in:
Tim Byrne 2017-02-03 07:38:57 -06:00
parent f2b2b64750
commit 63836c5e40
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12

View file

@ -55,9 +55,10 @@ function build_url() {
echo
echo " 1. GitHub"
echo " 2. Bitbucket"
echo " 3. Other"
echo " 3. GitLab"
echo " 4. Other"
echo
read -r -p "Where is your repo? (1/2/3) ->" choice < /dev/tty
read -r -p "Where is your repo? (1/2/3/4) ->" choice < /dev/tty
case $choice in
1)
REPO_URL="https://github.com/"
@ -65,6 +66,9 @@ function build_url() {
2)
REPO_URL="https://bitbucket.org/"
;;
3)
REPO_URL="https://gitlab.com/"
;;
*)
echo
echo Please specify the full URL of your dotfiles repo