forked from mudhorn/dotfiles
Merge pull request #3 from Eideen/patch-1
add check for vim-scripts dependence
This commit is contained in:
commit
56d48a3f8a
|
@ -1,10 +1,13 @@
|
||||||
# Installation
|
# Installation
|
||||||
|
### Download and change folder
|
||||||
```
|
```
|
||||||
cd ~
|
cd ~
|
||||||
git clone https://github.com/flipsidecreations/dotfiles.git
|
git clone https://github.com/flipsidecreations/dotfiles.git
|
||||||
|
|
||||||
cd dotfiles
|
cd dotfiles
|
||||||
|
```
|
||||||
then run install.sh
|
### Run intstall
|
||||||
|
```
|
||||||
|
./install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,11 @@ for file in $(find . -maxdepth 1 -name ".*" -type f -printf "%f\n" ); do
|
||||||
fi
|
fi
|
||||||
ln -s $PWD/$file ~/$file
|
ln -s $PWD/$file ~/$file
|
||||||
done
|
done
|
||||||
|
if hash vim-addon 2>/dev/null; then
|
||||||
|
echo "vim-addon (vim-scripts) installed"
|
||||||
|
else
|
||||||
|
echo "vim-addon (vim-scripts) not installed, running 'sudo apt update; sudo apt install bc'"
|
||||||
|
sudo apt update; sudo apt install vim-scripts
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Installed"
|
echo "Installed"
|
||||||
|
|
Loading…
Reference in a new issue