From 79f53976dae2853858bb415b760e32fbd6ef8850 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 21 Nov 2025 01:59:33 -0600 Subject: [PATCH] Make a few minor clean-up changes --- install_programs.sh | 9 ++++----- installs_and_builds/custom_default_mise | 3 +++ installs_and_builds/custom_reference_neovim | 13 +++---------- 3 files changed, 10 insertions(+), 15 deletions(-) create mode 100755 installs_and_builds/custom_default_mise diff --git a/install_programs.sh b/install_programs.sh index 3be6275..405027a 100755 --- a/install_programs.sh +++ b/install_programs.sh @@ -1,6 +1,8 @@ #!/bin/zsh apply_overrides() { + name="$1" + kind="$2" echo $3 | sed -E 's/; */\n/g' | 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 echo "-- installing $name" - [[ $kind = 'package_manager' ]] && { - ${=BOX_SETUP_INSTALL_COMMAND} ${=name} - }|| { - [[ $kind = 'build_custom' ]] && build_custom $name - } + [[ $kind = 'package_manager' ]] && ${=BOX_SETUP_INSTALL_COMMAND} ${=name} + [[ $kind = 'build_custom' ]] && build_custom $name done diff --git a/installs_and_builds/custom_default_mise b/installs_and_builds/custom_default_mise new file mode 100755 index 0000000..9ded789 --- /dev/null +++ b/installs_and_builds/custom_default_mise @@ -0,0 +1,3 @@ +#!/bin/sh + +echo 'TODO: custom script for mise is not yet implemented' diff --git a/installs_and_builds/custom_reference_neovim b/installs_and_builds/custom_reference_neovim index 9dc98b9..03605bf 100755 --- a/installs_and_builds/custom_reference_neovim +++ b/installs_and_builds/custom_reference_neovim @@ -1,5 +1,8 @@ #!/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_version="v0.10.3" [ ! -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 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 -