spm

Personal fork of spm (simple password manager)
git clone git@getsh.org:spm.git
Log | Files | Refs | README | LICENSE

commit e90b46f2dd980b4f85097925991294228890102f
parent 47fc1fbe865eb513ee9bdac132d80e6bf0f43ea2
Author: Klemens Nanni <kl3@posteo.org>
Date:   Sun, 29 May 2016 12:32:54 +0200

Use less(1) in 'list' to handle long output properly

Diffstat:
Mspm.sh | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/spm.sh b/spm.sh @@ -68,7 +68,8 @@ list() { && die "No such group. See 'spm list'." tree ${grps_only:+-d} --noreport -l -C -- "${STORE_DIR}/${1}" \ - | sed "1s,${STORE_DIR}/,,; s,.gpg,,g" + | sed "1s,${STORE_DIR}/,,; s,.gpg,,g" \ + | less -E -i -K -R -X } del() {