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
1 changed files with 6 additions and 2 deletions

View File

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