the execute command now prints a traditional looking prompt

This commit is contained in:
Kjistóf 2017-10-08 03:44:43 +02:00
parent 567af6399d
commit a59d812f24

View File

@ -20,7 +20,11 @@ function type()
{ printf "$*" | simtyping; }
function execute()
{ type "$@" && wait && eval "$@"; }
{
printf "$(whoami)@$(hostname)\$ "
type "$@" && wait
eval "$@"
}
function cmd()
{ read command && eval "${command}"; }