commit bdf336c0242dc379d74c3b085dec7521d9fc15d7 parent 3ad594dc59c9f78cb1789d24e3252d35cb77b978 Author: Klemens Nanni <kl3@posteo.org> Date: Mon, 16 May 2016 01:56:06 +0200 Strip ${STORE_DIR} from group name on 'list' output Diffstat:
M | tpm.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
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 's/.gpg$//g' + | sed "1s,${STORE_DIR}/,,; s,.gpg$,,g" } del() {