From 0e53359b65fad8f68bd8d44d8b0e2606010ac08a Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Fri, 16 Jan 2026 18:15:00 -0500 Subject: Make nvim prefix configurable --- compile/nvim.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compile') diff --git a/compile/nvim.sh b/compile/nvim.sh index d1533fb..5e9ba1a 100755 --- a/compile/nvim.sh +++ b/compile/nvim.sh @@ -11,6 +11,7 @@ Linux) nproc="$(nproc)" ;; esac codedir="${CODEDIR:-$HOME/scm}" nvimdir="${codedir}/nvim" +NVIM_PREFIX="${NVIM_PREFIX:-$HOME/.local}" # On OpenBSD: # Workaround for OpenBSD's make being called endlessly... @@ -43,6 +44,6 @@ done cd "$nvimdir" git clean -fdx . rm -rf build || echo "" -make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/.local $_extra_flags" -j"$nproc" +make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$NVIM_PREFIX $_extra_flags" -j"$nproc" make install cd - -- cgit v1.2.3