Fix ask prompt

Fixes the broken ask prompt that used the Bash "function" command.