[bash/en] add another way to define functions to bash (fix #380)

Adding another way to declare functions on bash