Fix .commonshrc syntax error with bash.

Bash does not handle defining functions on one line.