diff --git a/demo.sh b/demo.sh index f2f2f08..749d6b7 100644 --- a/demo.sh +++ b/demo.sh @@ -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}"; }