cmd function now prints nice prompt aswell

This commit is contained in:
Kjistóf 2017-10-08 19:58:42 +02:00
parent 72042074cd
commit ca5054c21d
1 changed files with 5 additions and 1 deletions

View File

@ -35,4 +35,8 @@ function execute()
}
function cmd()
{ read command && eval "${command}"; }
{
prompt
read command
eval "${command}";
}