From d6da2d59a76c49aabbc4334f8f50f879d109f2d0 Mon Sep 17 00:00:00 2001 From: rslangl Date: Sun, 4 Jan 2026 20:54:00 +0100 Subject: [PATCH 1/2] feat: install nvim from source --- .chezmoiexternal.toml | 4 ++++ run_once_0-bootstrap.sh | 9 ++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml index 812da45..a14d92c 100644 --- a/.chezmoiexternal.toml +++ b/.chezmoiexternal.toml @@ -2,3 +2,7 @@ type = "git-repo" url = "https://github.com/rslangl/nvim.git" refreshPeriod = "168h" +["dev/co/neovim"] + type = "git-repo" + url = "https://github.com/neovim/neovim.git" + refreshPeriod = "168h" diff --git a/run_once_0-bootstrap.sh b/run_once_0-bootstrap.sh index a54e554..3127e1e 100644 --- a/run_once_0-bootstrap.sh +++ b/run_once_0-bootstrap.sh @@ -68,9 +68,6 @@ mkdir -p "${XDG_DATA_HOME:-${HOME/.local/share}}"/wallpapers sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator $(which wezterm) 50 sudo update-alternatives --set x-terminal-emulator $(which wezterm) -# Change default window manager to i3 -# TODO - # Set custom user directories DEV="$HOME"/dev DEV_CO="$DEV"/co # checkout other projects @@ -106,5 +103,11 @@ ensure_dir "$SHARE_CAST" ensure_dir "$SHARE_SEED" ensure_dir "$SHARE_LECT" +# Compile nvim +pushd "$HOME"/dev/co/neovim +make CMAKE_BUILD_TYPE=RelWithDebInfo +sudo make install +popd + # Cleanup sudo apt autoremove -y From 6b1e017ef2c0543404f18763f871fb07abfb3422 Mon Sep 17 00:00:00 2001 From: rslangl Date: Sun, 4 Jan 2026 21:04:22 +0100 Subject: [PATCH 2/2] fix: use correct source branch for nvim --- run_once_0-bootstrap.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/run_once_0-bootstrap.sh b/run_once_0-bootstrap.sh index 3127e1e..30a1d85 100644 --- a/run_once_0-bootstrap.sh +++ b/run_once_0-bootstrap.sh @@ -26,7 +26,9 @@ sudo apt install -y \ zoxide \ zsh \ eza \ - bat + bat \ + fd-find \ + weechat # Set XDG dirs for zsh sudo cp -f /etc/zsh/zshenv /etc/zsh/zshenv.bak @@ -104,7 +106,9 @@ ensure_dir "$SHARE_SEED" ensure_dir "$SHARE_LECT" # Compile nvim +NVIM_VERSION=0.11 pushd "$HOME"/dev/co/neovim +git checkout release-"$NVIM_VERSION" make CMAKE_BUILD_TYPE=RelWithDebInfo sudo make install popd