From b9412e82aebd961e9295467e1756cc8cad41ab40 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 17 Jun 2024 18:56:31 +0200 Subject: [PATCH] cd_echo --- cd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cd.sh b/cd.sh index 1884737..af48a0c 100644 --- a/cd.sh +++ b/cd.sh @@ -658,7 +658,8 @@ cd_cat () { cd_echo () { if [ -n "${1}" ] ; then for cd_echo__name in "${@}" ; do - eval "echo ${cd_echo__name} = \\\"\${${cd_echo__name}}\\\"" + eval "cd_echo__text=\"\${${cd_echo__name}}\"" + echo "${cd_echo__name} = \"${cd_echo__text}\"" done fi }