diff --git a/cd.sh b/cd.sh index e88fcac..f15b989 100644 --- a/cd.sh +++ b/cd.sh @@ -605,10 +605,9 @@ cd_cat () { } cd_echo () { -local name if [ "${1}" ] ; then - for name in "${@}" ; do - eval "echo ${name} = \\\"\${${name}}\\\"" + for cd_echo__name in "${@}" ; do + eval "echo ${cd_echo__name} = \\\"\${${cd_echo__name}}\\\"" done fi }