spm

Personal fork of spm (simple password manager)

commit 3812d8a0dc93fdc41f6051d8db899fd2aa6a4f24
parent bdf336c0242dc379d74c3b085dec7521d9fc15d7
Author: Klemens Nanni <kl3@posteo.org>
Date: Mon, 16 May 2016 02:00:58 +0200

Strip '.gpg' suffix from symlinks in 'list' output as well
1 file changed, 1 insertion(+), 1 deletion(-)
M
tpm.sh
|
2
+-
diff --git a/tpm.sh b/tpm.sh
@@ -68,7 +68,7 @@ list() {
 		&& die "No such group. See 'tpm list'."
 
 	tree --noreport -l -C -- "${STORE_DIR}/${1}" \
-		| sed "1s,${STORE_DIR}/,,; s,.gpg$,,g"
+		| sed "1s,${STORE_DIR}/,,; s,.gpg,,g"
 }
 
 del() {