Compare commits

..

No commits in common. "26bc0cba83302a5eb9396dbde543748391f3a8b5" and "7c036ccd7fe3af3a72814a6c2386a416a4a0289c" have entirely different histories.

4 changed files with 6 additions and 8 deletions

View file

@ -16,7 +16,6 @@ done
PYLSP_PLUGINS=( PYLSP_PLUGINS=(
# keep-sorted start # keep-sorted start
--with 'boto3-stubs[full]'
--with fs --with fs
--with podman --with podman
--with pydantic --with pydantic

View file

@ -3,10 +3,9 @@
set -euo pipefail set -euo pipefail
IFS=$'\n\t' IFS=$'\n\t'
containers_raw="$(buildah list | tail --lines +2 | cut --delimiter ' ' --fields 1)" buildah_containers="$(buildah list | tail --lines +2 | cut --delimiter ' ' --fields 1)"
if [ -z "${containers_raw}" ]; then if [ -z "${buildah_containers}" ]; then
echo "No containers to remove" echo "No containers to remove"
else else
readarray -t containers <<< "${containers_raw}" buildah rm "${buildah_containers}"
buildah rm "${containers[@]}"
fi fi

View file

@ -6,7 +6,7 @@ IFS=$'\n\t'
REPO_DIR="$(systemd-path user-state-private)"/agentbox REPO_DIR="$(systemd-path user-state-private)"/agentbox
if [ -d "${REPO_DIR}" ] if [ -d "${REPO_DIR}" ]
then then
git -C "${REPO_DIR}" pull || true git -C "${REPO_DIR}" pull
else else
cd "$(systemd-path user-state-private)" || exit cd "$(systemd-path user-state-private)" || exit
git clone https://github.com/libohad-dev/agentbox git clone https://github.com/libohad-dev/agentbox
@ -17,7 +17,7 @@ fi
REPO_DIR="$(systemd-path user-state-private)"/git-sync REPO_DIR="$(systemd-path user-state-private)"/git-sync
if [ -d "${REPO_DIR}" ] if [ -d "${REPO_DIR}" ]
then then
git -C "${REPO_DIR}" pull || true git -C "${REPO_DIR}" pull
else else
cd "$(systemd-path user-state-private)" || exit cd "$(systemd-path user-state-private)" || exit
git clone https://github.com/simonthum/git-sync git clone https://github.com/simonthum/git-sync

View file

@ -63,7 +63,7 @@ fi
editor_cmd="$(default_editor)" editor_cmd="$(default_editor)"
echo "Editing using the command \"${editor_cmd}\"" echo "Editing using the command \"${editor_cmd}\""
IFS=' ' readarray -t editor <<< "${editor_cmd}" IFS=' ' read -r -a editor <<< "${editor_cmd}"
orig_file="$1" orig_file="$1"
tempfile="$(mktemp)" tempfile="$(mktemp)"