type now does not wait implicitly, whereas execude will and explicitly

This commit is contained in:
Kjistóf 2017-10-08 03:24:47 +02:00
parent b17e5b6d5d
commit 2f6c4c6023

View File

@ -17,13 +17,10 @@ function wait()
}
function type()
{
printf "$*\n" | simtyping
wait
}
{ printf "$*\n" | simtyping; }
function execute()
{ type "$@" && eval "$@"; }
{ type "$@" && wait && eval "$@"; }
function cmd()
{ read command && eval "${command}"; }