2014-10-26 08:38:22 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
[[ -z $1 ]] && exit 1
|
|
|
|
|
2014-11-02 02:13:21 -05:00
|
|
|
[[ -d "vim/bundle/${1}" ]] && git submodule deinit -f "vim/bundle/${1}" || echo "Couldn't run 'git submodule deinit vim/bundle/${1}', $1 does not exist"
|
2014-10-26 08:38:22 -04:00
|
|
|
[[ -d "vim/bundle/${1}" ]] && git rm "vim/bundle/${1}" || echo "Couldn't run 'git rm vim/bundle/${1}', vim/bundle/${1} does not exist"
|
|
|
|
[[ -d "${PWD}/.git/modules/vim/bundle/${1}" ]] && rm -rf "${PWD}/.git/modules/vim/bundle/${1}" || echo "Couldn't run 'rm -rf ${PWD}/.git/modules/vim/bundle/${1}', ${PWD}/.git/modules/vim/bundle/${1} does not exist"
|