mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Merge 68e82abc01 into 3913106b2e
This commit is contained in:
commit
114177e53a
1 changed files with 8 additions and 8 deletions
|
|
@ -1,27 +1,27 @@
|
|||
function vundle-init () {
|
||||
if [ ! -d ~/.vim/bundle/vundle/ ]
|
||||
if [ ! -d ~/.vim/bundle/Vundle.vim/ ]
|
||||
then
|
||||
mkdir -p ~/.vim/bundle/vundle/
|
||||
mkdir -p ~/.vim/bundle/Vundle.vim/
|
||||
fi
|
||||
|
||||
if [ ! -d ~/.vim/bundle/vundle/.git/ ]
|
||||
if [ ! -d ~/.vim/bundle/Vundle.vim/.git/ ]
|
||||
then
|
||||
git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
|
||||
echo "\n\tRead about vim configuration for vundle at https://github.com/gmarik/vundle\n"
|
||||
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.vim\n"
|
||||
fi
|
||||
}
|
||||
|
||||
function vundle () {
|
||||
vundle-init
|
||||
vim -c "execute \"BundleInstall\" | q | q"
|
||||
vim -c "execute \"PluginInstall\" | q | q"
|
||||
}
|
||||
|
||||
function vundle-update () {
|
||||
vundle-init
|
||||
vim -c "execute \"BundleInstall!\" | q | q"
|
||||
vim -c "execute \"PluginInstall!\" | q | q"
|
||||
}
|
||||
|
||||
function vundle-clean () {
|
||||
vundle-init
|
||||
vim -c "execute \"BundleClean!\" | q | q"
|
||||
vim -c "execute \"PluginClean!\" | q | q"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue