darkcloud-vimconfig/add-submodule

6 lines
136 B
Bash
Executable file

#!/usr/bin/env bash
[[ -z "$1" || -z "$2" ]] && exit 1
git submodule add "$1" "vim/bundle/$2"
git submodule update --init --recursive