Actualiser install.sh
correction install.sh
This commit is contained in:
parent
fe193563f5
commit
c4f9fec391
10
install.sh
10
install.sh
|
@ -3,18 +3,18 @@
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install elinks git figlet
|
sudo apt install elinks git figlet
|
||||||
|
|
||||||
|
mkdir ~/.vim
|
||||||
mv * ~/.vim && rm -rf Vimscode
|
mv * ~/.vim && rm -rf Vimscode
|
||||||
cd ~/.vim && mv vimrc-conf ~/.vimrc
|
cd ~/.vim && mv vimrc-conf ~/.vimrc
|
||||||
cd ~/.vim/bundle/ && git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
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 ?"
|
echo "Utilisez-vous bash ou zsh ?"
|
||||||
read term
|
read -r term
|
||||||
|
|
||||||
if [ "$term" = "bash" ]; then
|
if [ "$term" = "bash" ]; then
|
||||||
cat 'alias vimscode=\"~/.vim/vimscode.sh\"' >> ~/.bashrc
|
echo 'alias vimscode="~/.vim/vimscode.sh"' >> ~/.bashrc
|
||||||
else
|
else
|
||||||
cat 'alias vimscode=\"~/.vim/vimscode.sh\"' >> ~/.zshrc
|
echo 'alias vimscode="~/.vim/vimscode.sh"' >> ~/.zshrc
|
||||||
fi
|
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."
|
Loading…
Reference in a new issue