Make a few minor clean-up changes

This commit is contained in:
2025-11-21 01:59:33 -06:00
parent d796c73bad
commit 79f53976da
3 changed files with 10 additions and 15 deletions

View File

@@ -1,6 +1,8 @@
#!/bin/zsh #!/bin/zsh
apply_overrides() { apply_overrides() {
name="$1"
kind="$2"
echo $3 | echo $3 |
sed -E 's/; */\n/g' | sed -E 's/; */\n/g' |
while IFS=$'\n ' read -r override_key override_values; do while IFS=$'\n ' read -r override_key override_values; do
@@ -50,10 +52,7 @@ sed 1d "installs_and_builds/programs.csv" |
[[ $name = 'zz_skip' || $kind = 'zz_skip' ]] && continue [[ $name = 'zz_skip' || $kind = 'zz_skip' ]] && continue
echo "-- installing $name" echo "-- installing $name"
[[ $kind = 'package_manager' ]] && { [[ $kind = 'package_manager' ]] && ${=BOX_SETUP_INSTALL_COMMAND} ${=name}
${=BOX_SETUP_INSTALL_COMMAND} ${=name} [[ $kind = 'build_custom' ]] && build_custom $name
}|| {
[[ $kind = 'build_custom' ]] && build_custom $name
}
done done

View File

@@ -0,0 +1,3 @@
#!/bin/sh
echo 'TODO: custom script for mise is not yet implemented'

View File

@@ -1,5 +1,8 @@
#!/bin/zsh #!/bin/zsh
# from primeagen's examples and dev repo
# currnetly not used, but keeping for reference in case i need this soon for debian
install_neovim_dir=$HOME/.local/build/neovim install_neovim_dir=$HOME/.local/build/neovim
install_neovim_version="v0.10.3" install_neovim_version="v0.10.3"
[ ! -z $NVIM_VERSION ] && install_neovim_version="$NVIM_VERSION" [ ! -z $NVIM_VERSION ] && install_neovim_version="$NVIM_VERSION"
@@ -13,13 +16,3 @@ make -C $install_neovim_dir clean
make -C $install_neovim_dir CMAKE_BUILD_TYPE=RelWithDebInfo make -C $install_neovim_dir CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make -C $install_neovim_dir install sudo make -C $install_neovim_dir install
# from primeagen's dev repo, uncomment/edit as needed
# git clone https://github.com/ThePrimeagen/harpoon.git $HOME/personal/harpoon
# cd $HOME/personal/harpoon
# git fetch
# git checkout harpoon2
# git clone https://github.com/ThePrimeagen/vim-apm.git $HOME/personal/vim-apm
# git clone https://github.com/ThePrimeagen/caleb.git $HOME/personal/caleb
# git clone https://github.com/nvim-lua/plenary.nvim.git $HOME/personal/plenary