added cmd function

This commit is contained in:
Kjistóf 2017-10-08 03:10:27 +02:00
parent 2ba6689412
commit b17e5b6d5d
1 changed files with 3 additions and 0 deletions

View File

@ -24,3 +24,6 @@ function type()
function execute()
{ type "$@" && eval "$@"; }
function cmd()
{ read command && eval "${command}"; }