Reformat (spaces > tabs, obv)
This commit is contained in:
parent
bfaeedf03c
commit
17919c6e72
1 changed files with 12 additions and 12 deletions
24
bootstrap.sh
24
bootstrap.sh
|
@ -1,17 +1,17 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if ! [ -a /usr/bin/nvim ]; then
|
if ! [ -a /usr/bin/nvim ]; then
|
||||||
echo "Installing nvim..."
|
echo "Installing nvim..."
|
||||||
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
|
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
|
||||||
chmod au+x nvim.appimage
|
chmod au+x nvim.appimage
|
||||||
cp nvim.appimage /usr/bin/nvim
|
cp nvim.appimage /usr/bin/nvim
|
||||||
|
|
||||||
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
|
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
|
||||||
sudo update-alternatives --config vi
|
sudo update-alternatives --config vi
|
||||||
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
|
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
|
||||||
sudo update-alternatives --config vim
|
sudo update-alternatives --config vim
|
||||||
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60
|
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60
|
||||||
sudo update-alternatives --config editor
|
sudo update-alternatives --config editor
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
@ -21,8 +21,8 @@ mkdir -p ~/Code
|
||||||
cd ~/Code
|
cd ~/Code
|
||||||
|
|
||||||
if ! [ -a config ]; then
|
if ! [ -a config ]; then
|
||||||
git clone https://github.com/ntietz/config.git
|
git clone https://github.com/ntietz/config.git
|
||||||
cd config
|
cd config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue