mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-13 03:12:21 +01:00
Update vundle plugin to latest Vundle.vim commands and repo name
This commit is contained in:
parent
f9ab4c27d4
commit
cd0c3d8a91
1 changed files with 8 additions and 8 deletions
|
|
@ -1,27 +1,27 @@
|
||||||
function vundle-init () {
|
function vundle-init () {
|
||||||
if [ ! -d ~/.vim/bundle/vundle/ ]
|
if [ ! -d ~/.vim/bundle/Vundle.vim/ ]
|
||||||
then
|
then
|
||||||
mkdir -p ~/.vim/bundle/vundle/
|
mkdir -p ~/.vim/bundle/Vundle.vim/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d ~/.vim/bundle/vundle/.git ] && [ ! -f ~/.vim/bundle/vundle/.git ]
|
if [ ! -d ~/.vim/bundle/Vundle.vim/.git ] && [ ! -f ~/.vim/bundle/Vundle.vim/.git ]
|
||||||
then
|
then
|
||||||
git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
|
git clone http://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||||
echo "\n\tRead about vim configuration for vundle at https://github.com/gmarik/vundle\n"
|
echo "\n\tRead about vim configuration for vundle at https://github.com/gmarik/Vundle.vim\n"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function vundle () {
|
function vundle () {
|
||||||
vundle-init
|
vundle-init
|
||||||
vim -c "execute \"BundleInstall\" | q | q"
|
vim +PluginInstall +qall
|
||||||
}
|
}
|
||||||
|
|
||||||
function vundle-update () {
|
function vundle-update () {
|
||||||
vundle-init
|
vundle-init
|
||||||
vim -c "execute \"BundleInstall!\" | q | q"
|
vim +PluginUpdate +qall
|
||||||
}
|
}
|
||||||
|
|
||||||
function vundle-clean () {
|
function vundle-clean () {
|
||||||
vundle-init
|
vundle-init
|
||||||
vim -c "execute \"BundleClean!\" | q | q"
|
vim +PluginClean +qall
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue