chore: update dependencies and remove unused server modules

This commit is contained in:
Andrew Phillips
2025-08-12 14:38:59 -03:00
committed by Andrew Phillips (aider)
parent f2c951ac73
commit 5150e2f478
7 changed files with 666 additions and 19 deletions

View File

@@ -1,9 +1,11 @@
#!/bin/bash
export KEEP_LIST_FORMAT="${KEEP_LIST_FORMAT:-id,time,size,tags,meta:full_hostname,meta:file_magic,meta:command}"
export KEEP_META_PLUGINS="${KEEP_META_PLUGINS:-binary,cwd,file_magic,full_hostname}"
function __keep_preexec {
KEEP_META_command="$1"
KEEP_META_directory=${KEEP_META_directory:-${PWD}}
KEEP_META_hostname=${KEEP_META_hostname:-${HOSTNAME:-$(hostname -f)}}
KEEP_META_tty=${KEEP_META_tty:-$(tty)}
}
@@ -20,10 +22,6 @@ function __keep_preexec_init {
if [[ $found = false ]]; then
preexec_functions+=(__keep_preexec)
fi
if [[ -z $KEEP_LIST_FORMAT ]]; then
export KEEP_LIST_FORMAT="id,time,size,tags,meta:hostname,meta:command"
fi
}
function keep {
@@ -32,8 +30,6 @@ function keep {
export KEEP_META_command
fi
export KEEP_META_directory
export KEEP_META_hostname
export KEEP_META_tty
exec keep "$@"