Actualiser install.sh

correction install.sh
This commit is contained in:
bastien 2024-08-06 10:33:57 +02:00
parent fe193563f5
commit c4f9fec391

View file

@ -3,18 +3,18 @@
sudo apt update
sudo apt install elinks git figlet
mkdir ~/.vim
mv * ~/.vim && rm -rf Vimscode
cd ~/.vim && mv vimrc-conf ~/.vimrc
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
read -r term
if [ "$term" = "bash" ]; then
cat 'alias vimscode=\"~/.vim/vimscode.sh\"' >> ~/.bashrc
echo 'alias vimscode="~/.vim/vimscode.sh"' >> ~/.bashrc
else
cat 'alias vimscode=\"~/.vim/vimscode.sh\"' >> ~/.zshrc
echo 'alias vimscode="~/.vim/vimscode.sh"' >> ~/.zshrc
fi
echo "Installation terminé, lancer vim puis taper sur ":" et écrivé "PluginInstall"
echo "Installation terminé, lancer vim puis taper : et écrivez PluginInstall, sauvegardez et quittez."