diff --git a/demo.sh b/demo.sh index 749d6b7..11a4423 100644 --- a/demo.sh +++ b/demo.sh @@ -3,6 +3,10 @@ TYPE_SPEED="${TYPE_SPEED:-15}" PROMPT_TIMEOUT="${PROMPT_TIMEOUT:--1}" +def="\033[0;00m" +blu="\033[0;34m" +cyn="\033[0;36m" + function simtyping() { pv -qL $(($TYPE_SPEED+$((-2 + RANDOM%5)))); } @@ -21,7 +25,7 @@ function type() function execute() { - printf "$(whoami)@$(hostname)\$ " + printf "$cyn$(whoami)$def@$blu$(hostname)$def\$ " type "$@" && wait eval "$@" }