spm

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

commit 56c1d7b8f8405d1b3d250bd1131ba816119d50c5
parent cebb086a9d4efbf19da8a00cc178e8f5af7abfc1
Author: Klemens Nanni <kl3@posteo.org>
Date:   Tue,  1 Mar 2016 23:49:00 +0100

Hide .gpg extension when listing entries

Diffstat:
Mtpm | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tpm b/tpm @@ -73,7 +73,8 @@ list() { [ -n "${1}" ] && [ ! -d "${STORE_DIR}/${1}" ] \ && abort "The specified group doesn't exist. See 'tpm list'." - tree --noreport -- "${STORE_DIR}/${1}" + tree --noreport -- "${STORE_DIR}/${1}" \ + | sed 's/.gpg$//g' echo }