Add utility to generate shell completions

This commit is contained in:
Alexander Hess 2026-08-03 09:36:33 +02:00
commit 1ffce9ed20
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
4 changed files with 137 additions and 0 deletions

View file

@ -134,6 +134,10 @@ if command -v batcat >/dev/null 2>&1 && ! command -v bat >/dev/null 2>&1; then
fi
sh "$XDG_BIN_HOME/generate-shell-completions" --quieter \
|| echo "WARN: generating shell completions failed" >&2
# Keep only the most recent backups
_keep=10
if [ -d "$BACKUPS_DIR" ]; then