From 581a98a4ae886f29854e4d89b544aaccbf26bbe6 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 25 Sep 2025 13:46:31 -0500 Subject: [PATCH] Remove unnecessary run options, keep it simple --- README.md | 21 +++++++-------------- box_setup.sh | 16 ---------------- 2 files changed, 7 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index b5c877e..b5c8fac 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,19 @@ # dotfiles, plus scripts for box setup -### prereqs, linux distros -- zsh is installed (scripts are written for zsh) +### prereqs +- zsh and git installed +- git clone this repo + +#### specific prereqs, linux distros - sudo access is configured for current user -### prereqs, macos -- zsh is installed (scripts are written for zsh) +#### specific prereqs, macos - install the package manager, [homebrew](https://brew.sh/) - for aerospace window manager, have only 1 workspace/desktop - manual settings, refer to [macos-system-settings](ref/macos-system-settings.txt) ### script run -- if repo present on system, run from the repo's root: - - ``` - ./box_setup.sh - ``` -- if repo not present, run: - - ``` - curl -LO https://git.drinkingtea.net/david/box-setup/raw/branch/master/box_setup.sh - sh box_setup.sh - ``` - - then delete the script file afterwards (repo should have been copied to dev dir) +- run from the repo's root: `./box_setup.sh ` ### todo items - choose window manager for linux, then configure diff --git a/box_setup.sh b/box_setup.sh index 5d19a11..b6c41a9 100755 --- a/box_setup.sh +++ b/box_setup.sh @@ -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/" -}