spm

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

Commit: 3f5071cc30cf72ed4417cc7b82040e1eec37caff
Parent: 45d400901a9a0d3a58ae46e1b7a5a83170f516cb
Author: Randy Palamar
Date:   Sun, 15 Jan 2023 20:37:22 -0700

remove view() function. output can be piped to $PAGER if needed

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

diff --git a/spm b/spm @@ -59,10 +59,6 @@ find() { command find "${STORE_DIR}" -name "*.gpg" -type f -o -type l | grep -ie "${1}" } -view() { - less -EiKRX -} - ## Commands add() { [ -e "${STORE_DIR}"/"${1}" ] && usage 'entry already exists' @@ -81,7 +77,7 @@ add() { list() { [ -d "${STORE_DIR}"/"${1:-}" ] || usage 'no such group' - find "${STORE_DIR}"/"${1:-}" | view + find "${STORE_DIR}"/"${1:-}" } del() { @@ -90,7 +86,7 @@ del() { } search() { - find "${1}" | view + find "${1}" } show() {