fixes by claude

This commit is contained in:
ink
2026-08-08 17:31:31 +02:00
parent b71cbe7312
commit 79a301425d
12 changed files with 467 additions and 137 deletions
+1 -8
View File
@@ -76,17 +76,10 @@ _kp_run() {
kpclose() { _kp_pw_clear && echo "KeePassXC session cleared."; }
# run with KP_DEBUG=1 to troubleshoot if needed
kpgets() { _kp_run show -sa Password "$KEEPASS_DB" "$1"; }
kptotps() { _kp_run show -st "$KEEPASS_DB" "$1"; }
# run with KP_DEBUG=1 to troubleshoot if needed
function load_gemini() {
if [[ -z "${MY_VARIABLE+set}" ]]; then
export GEMINI_API_KEY=$(kpgets "Gemini API Key")
echo "Gemini API Key loaded into environment!"
fi
}
function totp() {
local clip=false
[[ "$1" == "-c" ]] && clip=true && shift