made weird code structure decisions from last night less weird

This commit is contained in:
Kjistóf 2017-10-08 11:46:51 +02:00
parent 101d4b36b1
commit d41d2b2d6c
1 changed files with 6 additions and 4 deletions

10
demo.sh
View File

@ -19,11 +19,13 @@ function wait()
function type()
{ printf "$*" | simtyping; }
def="\033[0;00m"
blu="\033[0;34m"
cyn="\033[0;36m"
function prompt()
{ printf "[$cyn$(whoami)$def@$blu$(hostname)$def $(basename `pwd`)]\$ "; }
{
def="\033[0;00m"
blu="\033[0;34m"
cyn="\033[0;36m"
printf "[$cyn$(whoami)$def@$blu$(hostname)$def $(basename `pwd`)]\$ ";
}
function execute()
{