diff --git a/.local/bin/ddev b/.local/bin/ddev index c94cd96..61ea561 100755 --- a/.local/bin/ddev +++ b/.local/bin/ddev @@ -10,7 +10,7 @@ if [ -z "$1" ]; then exit 1 fi -img="${aliases[$1]:-$1:latest}" +img="${aliases[$1]:-$1:latest}"; shift set -x -podman run --rm -it -v "$PWD:/mnt/" -w /mnt/ "docker.io/$img" +podman run --rm -it -v "$PWD:/mnt/" -w /mnt/ "docker.io/$img" "$@" diff --git a/.local/bin/updatetz b/.local/bin/updatetz new file mode 100755 index 0000000..6126d84 --- /dev/null +++ b/.local/bin/updatetz @@ -0,0 +1,6 @@ +#!/bin/bash -e + +tz="$(curl -Ssf https://ipapi.co/timezone)" + +sudo timedatectl set-timezone "$tz" +echo "$tz"