Modif script maj
parent
1560ad8f03
commit
5b0e1b05f1
@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Met à jour un plugin via git
|
||||
#
|
||||
function majGit() {
|
||||
git=$1
|
||||
echo -e "mise à jour de \033[1m$git\033[0m..."
|
||||
|
||||
root=$(pwd)
|
||||
cd $git && git pull
|
||||
cd $root
|
||||
}
|
||||
|
||||
# Zsh
|
||||
majGit "zsh/zsh-syntax-highlighting"
|
||||
|
||||
# Bundles vim
|
||||
majGit "vim/bundle/html5.vim"
|
||||
majGit "vim/bundle/syntastic"
|
||||
majGit "vim/bundle/supertab"
|
||||
majGit "vim/bundle/vim-jquery"
|
||||
majGit "vim/bundle/nerdcommenter"
|
||||
majGit "vim/bundle/vim-pathogen"
|
||||
majGit "vim/bundle/htmljinja"
|
||||
majGit "vim/bundle/Better-CSS-Syntax-for-Vim"
|
||||
majGit "vim/bundle/nerdtree"
|
||||
majGit "vim/bundle/tagbar"
|
||||
majGit "vim/bundle/vim-airline"
|
||||
majGit "vim/bundle/vim-bufferline"
|
||||
majGit "vim/bundle/vim-fugitive"
|
||||
|
@ -1,25 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Met à jour un plugin via git
|
||||
#
|
||||
function majGit() {
|
||||
plugin=$1
|
||||
echo -e "mise à jour de \033[1m$plugin\033[0m..."
|
||||
cd ~/.vim/bundle/$plugin && git pull
|
||||
}
|
||||
|
||||
majGit "html5.vim"
|
||||
majGit "syntastic"
|
||||
majGit "supertab"
|
||||
majGit "vim-jquery"
|
||||
majGit "nerdcommenter"
|
||||
majGit "vim-pathogen"
|
||||
majGit "htmljinja"
|
||||
majGit "Better-CSS-Syntax-for-Vim"
|
||||
majGit "nerdtree"
|
||||
majGit "tagbar"
|
||||
majGit "vim-airline"
|
||||
majGit "vim-bufferline"
|
||||
majGit "vim-fugitive"
|
||||
|
Loading…
Reference in New Issue