Remove unnecessary run options, keep it simple

This commit is contained in:
2025-09-25 13:46:31 -05:00
parent 5f07adee2d
commit 8e59c35cff
3 changed files with 13 additions and 33 deletions

View File

@@ -13,18 +13,6 @@
exit 0
}
# TODO: test this git stuff, see if it works
temp_placement_git_dir="no"
[[ ! -d ".git" && "$(basename $(pwd))" != "box-setup" ]] && {
temp_placement_git_dir="yes"
git clone "https://git.drinkingtea.net/david/box-setup.git" || {
echo "failed to clone box-setup git repo"
exit 1
}
pushd box-setup > /dev/null
}
# set env vars for installs
install_cmd=''
update_pkg_manager_and_defs_cmd=''
@@ -61,7 +49,3 @@ source $ZDOTDIR/.zshenv
source $ZDOTDIR/.zshrc
./install_programs.sh $2
[[ $temp_placement_git_dir == "yes" ]] && {
popd > /dev/null
mv "box-setup" "$DIR_GIT_PROJECTS/me/"
}