Commit 352d160d authored by Vitaly Lipatov's avatar Vitaly Lipatov

add showcmd in addition to docmd

parent 9c875228
......@@ -69,7 +69,7 @@ realpath()
}
# Print command line and run command line
docmd()
showcmd()
{
if [ -z "$quiet" ] ; then
set_boldcolor $GREEN
......@@ -78,6 +78,12 @@ docmd()
echo " $PROMTSIG $@"
restore_color
fi
}
# Print command line and run command line
docmd()
{
showcmd "$@"
"$@"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment