cd_echo
This commit is contained in:
parent
d786c87a78
commit
a8be6fdf64
1 changed files with 2 additions and 3 deletions
5
cd.sh
5
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue