Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .chezmoiexternal.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
15 changes: 11 additions & 4 deletions run_once_0-bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -68,9 +70,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
Expand Down Expand Up @@ -106,5 +105,13 @@ ensure_dir "$SHARE_CAST"
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

# Cleanup
sudo apt autoremove -y