diff --git a/.config/setup/46-install-uv-packages.sh b/.config/setup/46-install-uv-packages.sh index 47e5881..0c09810 100755 --- a/.config/setup/46-install-uv-packages.sh +++ b/.config/setup/46-install-uv-packages.sh @@ -16,7 +16,6 @@ done PYLSP_PLUGINS=( # keep-sorted start - --with 'boto3-stubs[full]' --with fs --with podman --with pydantic diff --git a/.local/bin/clear-buildah b/.local/bin/clear-buildah index 5492177..591aebd 100755 --- a/.local/bin/clear-buildah +++ b/.local/bin/clear-buildah @@ -3,10 +3,9 @@ set -euo pipefail IFS=$'\n\t' -containers_raw="$(buildah list | tail --lines +2 | cut --delimiter ' ' --fields 1)" -if [ -z "${containers_raw}" ]; then +buildah_containers="$(buildah list | tail --lines +2 | cut --delimiter ' ' --fields 1)" +if [ -z "${buildah_containers}" ]; then echo "No containers to remove" else - readarray -t containers <<< "${containers_raw}" - buildah rm "${containers[@]}" + buildah rm "${buildah_containers}" fi diff --git a/.local/bin/resync-live-git-repo-packages b/.local/bin/resync-live-git-repo-packages index 089fe33..bf0229a 100755 --- a/.local/bin/resync-live-git-repo-packages +++ b/.local/bin/resync-live-git-repo-packages @@ -6,7 +6,7 @@ IFS=$'\n\t' REPO_DIR="$(systemd-path user-state-private)"/agentbox if [ -d "${REPO_DIR}" ] then - git -C "${REPO_DIR}" pull || true + git -C "${REPO_DIR}" pull else cd "$(systemd-path user-state-private)" || exit git clone https://github.com/libohad-dev/agentbox @@ -17,7 +17,7 @@ fi REPO_DIR="$(systemd-path user-state-private)"/git-sync if [ -d "${REPO_DIR}" ] then - git -C "${REPO_DIR}" pull || true + git -C "${REPO_DIR}" pull else cd "$(systemd-path user-state-private)" || exit git clone https://github.com/simonthum/git-sync diff --git a/.local/bin/temper b/.local/bin/temper index 25eb8c2..2fb087f 100755 --- a/.local/bin/temper +++ b/.local/bin/temper @@ -63,7 +63,7 @@ fi editor_cmd="$(default_editor)" echo "Editing using the command \"${editor_cmd}\"" -IFS=' ' readarray -t editor <<< "${editor_cmd}" +IFS=' ' read -r -a editor <<< "${editor_cmd}" orig_file="$1" tempfile="$(mktemp)"