Add choice for GitLab
This commit is contained in:
parent
f2b2b64750
commit
63836c5e40
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue