Update 2023-05-03 07:54 OpenBSD/amd64-dalek

This commit is contained in:
c0dev0id 2023-05-03 07:54:29 +02:00
parent e774c1aea2
commit 3cbef4ce23
2 changed files with 6 additions and 4 deletions

View File

@ -15,7 +15,9 @@ do
password_files=( "$prefix"/**/*.gpg )
password_files=( "${password_files[@]#"$prefix"/}" )
password_files=( "${password_files[@]%.gpg}" )
password=$(printf '%s\n' "${password_files[@]}" | fzf -i $EXTRA --preview="pass {1}")
password=$(printf '%s\n' "${password_files[@]}" \
| fzf -i $EXTRA --preview="gpg -d ${prefix}/{1}.gpg \
2> /dev/null ")
[[ -n "$password" ]] || exit

6
.kshrc
View File

@ -43,9 +43,9 @@ export LANG LC_ALL LC_MESSAGES LC_NUMERIC LC_TIME
# INTERACTIVE ENVIRONMENT
########################################################################
case $(hostname) in
*.home.codevoid.de) PKGOPT="-Dsnap"; ;;
openbsd.codevoid.de) PKGOPT="-Dsnap"; ;;
case $(hostname -s) in
x13) PKGOPT="-Dsnap"; ;;
openbsd) PKGOPT="-Dsnap"; ;;
esac
### HISTORY