dotfiles

Cross platform dotfiles for linux, mac and windows
git clone git@getsh.org:dotfiles.git
Log | Files | Refs

commit b57808f58b648bbcf1977c9902d7a216d6f64007
parent 76c4d92adfad5fc8b1c5e60f73647499e58b858e
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date:   Thu,  1 Aug 2024 23:34:45 +0530

Merge branch 'main' of getsh.org:dotfiles

Diffstat:
M.local/bin/sh/pfs | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.local/bin/sh/pfs b/.local/bin/sh/pfs @@ -11,11 +11,8 @@ type ${PASSTOOL} 2>/dev/null || PASSTOOL=pass selection="$(find -L . -name '*.gpg' | sed 's/.gpg$//g' | ${FUZZER})" - test -z "${selection}" || { case ${selection} in - *totp/*) ${PASSTOOL} otp "${selection}" ;; - *) ${PASSTOOL} ${1:-"show"} "${selection}" ;; + *totp/*) pass ${1:-"otp"} "${selection}" ;; + ?*)pass ${1:-"show"} "${selection}" ;; esac -} -