From 5b0e1b05f1b3343ef97875bf2daf1338c764a5bd Mon Sep 17 00:00:00 2001 From: darkelfe Date: Mon, 30 Sep 2013 17:54:12 +0200 Subject: [PATCH] Modif script maj --- maj_subgit.sh | 32 ++++++++++++++++++++++++++++++++ vim/maj_bundle.sh | 25 ------------------------- 2 files changed, 32 insertions(+), 25 deletions(-) create mode 100755 maj_subgit.sh delete mode 100755 vim/maj_bundle.sh diff --git a/maj_subgit.sh b/maj_subgit.sh new file mode 100755 index 0000000..6eb9309 --- /dev/null +++ b/maj_subgit.sh @@ -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" + diff --git a/vim/maj_bundle.sh b/vim/maj_bundle.sh deleted file mode 100755 index 2a695fc..0000000 --- a/vim/maj_bundle.sh +++ /dev/null @@ -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" -