small pixel drawing of a pufferfish dotfiles

bin/pa-fuzzel

1 2 3 4 5 6 7 8 9
#!/bin/sh
#
# prompt for a password, then type the selected password

cd "${PA_DIR:-$HOME/.local/share/pa}"
password_files="$(find * -type f | grep -v '/.git')"
password=$(printf '%s\n' "$password_files" | sed 's/.age//' | fuzzel -dmenu "$@")

pa show "$password" | head -n 1 | tr -d '\n' | wtype -