Echo scripts

Hey,

I am sure this is a real basic command or script, but I am new to all of this, so here goes.

I am trying to edit my .bashrc to have an alias that would write "how are you doing" when I type hi. I know that there is built in echo function that does this, but I am not sure how to write it in the .bashrc.

Any help would be great!

do you mean

hi()
{
   echo "hi to you!"
}

Thanks, that did it.