aboutsummaryrefslogtreecommitdiff
path: root/distro/ubuntu.sh
blob: b8cd3eaf4f699e5db84e20544827171a7ff777b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
set -ex
nvimdir="$HOME/scm/pub/neovim-nvim"

sudo apt install -y \
	scdaemon \
	git \
	curl \
	neofetch \
	tmux \
	htop \
	vim \
	neovim \
	oathtool \
	dconf-editor \
	npm \
	pavucontrol \
	lua-nvim

sudo apt build-dep -y neovim

if ! [ -d "$nvimdir" ] ; then
	git clone https://github.com/neovim/neovim "$nvimdir"
fi
cd "$nvimdir"
rm -rf build || echo ""
make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/.local" -j"$(nproc)"
make install
cd -