ajout de script pour l'install et l'update
This commit is contained in:
parent
dd8f8cf656
commit
0f5871e30e
13
README.md
13
README.md
|
@ -60,10 +60,9 @@ sudo apt install git elinks
|
||||||
After clone don't forgot to rename "vimrc-conf" -> ".vimrc" :
|
After clone don't forgot to rename "vimrc-conf" -> ".vimrc" :
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://git.cohabit.fr/bastien/VimsCode.git
|
cd Vimscode
|
||||||
mv ../Vimscode ~/.vim && cd ~/.vim
|
chmod +x install.sh
|
||||||
mv vimrc-conf ~/.vimrc
|
./install.sh
|
||||||
cd ~/.vim/bundle/ && git clone https://github.com/VundleVim/Vundle.vim.git
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Alias :
|
### Alias :
|
||||||
|
@ -130,9 +129,9 @@ And other theme : [Theme](https://github.com/flazz/vim-colorschemes/tree/master/
|
||||||
For update it's very simple you juste have to pull and do some mv:
|
For update it's very simple you juste have to pull and do some mv:
|
||||||
|
|
||||||
```
|
```
|
||||||
git pull https://git.cohabit.fr/bastien/VimsCode.git
|
cd ~/.vim
|
||||||
mv ../vimscode ~/.vim && cd ~/.vim
|
chmod +x update-vimscode
|
||||||
mv vimrc-conf ../.vimrc
|
./update-vimscode
|
||||||
```
|
```
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
6
install.sh
Normal file
6
install.sh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mv * ~/.vim && rm -rf Vimscode
|
||||||
|
cd ~/.vim && mv vimrc-conf ~/.vimrc
|
||||||
|
cd ~/.vim/bundle/ && git clone https://github.com/VundleVim/Vundle.vim.git
|
||||||
|
echo "installation terminé, lancer vim puis ":PluginInstall""
|
10
update-vimscode
Normal file
10
update-vimscode
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
rm -rf ~/.vim/help ~/.vim/ide-cli ~/.vim/vimscode.sh
|
||||||
|
rm -rf ~/.vimrc
|
||||||
|
git clone https://git.cohabit.fr/bastien/VimsCode.git
|
||||||
|
cd Vimscode
|
||||||
|
mv help ide-cli vimscode.sh
|
||||||
|
mv vimrc-conf ~/.vimrc
|
||||||
|
echo "mise à jour terminé, lancer vim"
|
||||||
|
|
Loading…
Reference in a new issue