#!/bin/sh var1="~/.vim/autoload/" var2="~/.vim/bundle/" var3="~/.vim/colors/" var4="~/.vim/ftplugin/" if [ -f "$var1" ] then echo "le fichier existe déjà !" else mkdir -p ~/vim/autoload/ fi if [ -f "$var2" ] then echo "le fichier existe !" else mkdir -p ~/.vim/bundle/ if [ -f "$var3" ] then echo "le fichier existe !" else mkdir -p ~/.vim/colors/ fi if [ -f "$var4" ] then echo "le fichier existe !" else mkdir -p ~/.vim/ftplugin/ fi ls -la ~/.vim/ cd ~/.vim/autoload wget https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim cd ~/.vim/bundle git clone git clone https://github.com/scrooloose/nerdtree && git clone https://github.com/jistr/vim-nerdtree-tabs.git && git clone https://github.com/tpope/vim-sensible.git && git clone https://github.com/kien/ctrlp.vim.git && git clone https://github.com/klen/python-mode.git && git clone https://github.com/Lokaltog/vim-powerline.git && git clone https://github.com/othree/html5.vim.git && git clone https://github.com/feix760/css3complete.vim.git cd ~/.vim/colors wget https://raw.githubusercontent.com/thesheff17/youtube/master/vim/wombat256mod.vim cd ~/.vim/ftplugin wget https://raw.githubusercontent.com/thesheff17/youtube/master/vim/python_editing.vim cd ~ wget https://raw.githubusercontent.com/thesheff17/youtube/master/vim/vimrc ls -la ~/vimrc printf "Le fichier ~/vimrc a bien été reçu.\n" mv vimrc ~/.vimrc printf "Le fichier ~/vimrc est dans ~/.vimrc\n" printf "Et voilà !\n"