spm

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

Commit: cfc675b3d268c4f1f1be690c6ae09120eae63761
Parent: fb0ee5870bcb3e5dd09fdcdadcf45429e0709213
Author: Klemens Nanni
Date:   Sun, 29 May 2016 17:38:51 +0200

Show groups first, sort by entry name on 'list'

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

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