Commits

David Jones committed a0e88dc

add setup repo

  • Participants
  • Parent commits 53573be

Comments (0)

Files changed (1)

File setup_home.sh

 }
 
 
+from_bitbucket_git() {
+    name=$1
+    if [[ -d $REPO_DIR/$name ]]; then
+	echo "$name exists"
+    else
+	echo "getting $name from bitbucket"
+	git clone ssh://hg@bitbucket.org/dmj111/${name}.git $REPO_DIR/$name
+    fi
+}
+
+
 
 from_github oh-my-zsh
 from_github oh-my-zsh-custom
 
 from_bitbucket_hg config
 $REPO_DIR/config/setup.sh
+
+from_bitbucket_git setup