[Docs] the remote endpoint requires a key; drop work paths from common

This commit is contained in:
coja
2026-08-13 01:06:32 +02:00
parent 885a62520d
commit ba07ce03b7
5 changed files with 12 additions and 5 deletions
+7
View File
@@ -93,5 +93,12 @@ lk(){
&& recsel "$DB" -q "$query" | recfmt -f "$HOME/projects/dmz/soft/lk/lists.fmt" | less
}
# Keepassxc search
kp() {
local DB="${KP_DB:?Error: KP_DB environment variable is not set. Check .bash_profile.}"
read -sp "Enter db password: " pass; echo ""; printf '%s\n' "$pass" | keepassxc-cli ls -q -R "$DB" | fzf | (read -r entry; printf '%s\n' "$pass" | keepassxc-cli clip -q "$DB" "$entry" 0)
}
# Per-host extras
[ -f ~/.bashrc.host ] && . ~/.bashrc.host