Commit 0dad37db authored by Vitaly Lipatov's avatar Vitaly Lipatov

add docmdeval

parent 8a25ed5f
...@@ -90,6 +90,13 @@ docmd() ...@@ -90,6 +90,13 @@ docmd()
"$@" "$@"
} }
# Print command line and run command line
docmdeval()
{
showcmd $(eval echo "$@")
eval "$@"
}
# Run every arg with docmd # Run every arg with docmd
docmd_foreach() docmd_foreach()
{ {
......
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