Commit: 56c1d7b8f8405d1b3d250bd1131ba816119d50c5
Parent: cebb086a9d4efbf19da8a00cc178e8f5af7abfc1
Author: Klemens Nanni
Date: Tue, 1 Mar 2016 23:49:00 +0100
Hide .gpg extension when listing entries
Diffstat:
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
}