2023-11-24 17:20:02 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-05-19 12:13:13 +02:00
|
|
|
sudo apt update
|
|
|
|
sudo apt install elinks git figlet
|
|
|
|
|
2023-11-24 17:20:02 +01:00
|
|
|
mv * ~/.vim && rm -rf Vimscode
|
|
|
|
cd ~/.vim && mv vimrc-conf ~/.vimrc
|
2024-05-19 12:13:13 +02:00
|
|
|
cd ~/.vim/bundle/ && git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
|
|
|
chmod +x update-vimscode
|
|
|
|
|
|
|
|
echo "Utilisez-vous bash ou zsh ?"
|
|
|
|
read term
|
|
|
|
|
|
|
|
if [ "$term" = "bash" ]; then
|
|
|
|
cat 'alias vimscode=\"~/.vim/vimscode.sh\"' >> ~/.bashrc
|
|
|
|
else
|
|
|
|
cat 'alias vimscode=\"~/.vim/vimscode.sh\"' >> ~/.zshrc
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "Installation terminé, lancer vim puis taper sur ":" et écrivé "PluginInstall"
|