spm

simple password manager
git clone anongit@rnpnr.xyz:spm.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 9b758a61c3c3f47b176a8df42bbe8777224ba08e
Parent: be2257b1c7a83b725161ab3b4d03b07c5c751267
Author: Randy Palamar
Date:   Sat, 14 Jan 2023 21:49:33 -0700

don't use 'rm -i' or 'grep -G'

grep -G: non-standard and implied
rm -i: there is no need to confirm something the user explicitly requested

Diffstat:
Mspm | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spm b/spm @@ -56,7 +56,7 @@ readpw() { } find() { - command find "${STORE_DIR}" -type f -o -type l | grep -Gie "${1}" + command find "${STORE_DIR}" -type f -o -type l | grep -ie "${1}" } munge() { @@ -98,7 +98,7 @@ list() { del() { entry=$(find "${1}" | head -n2) - check; command rm -i "${entry}" && printf '\n' + check; command rm "${entry}" && printf '\n' } search() {