making bash functions inheritable by subshells

Developer from somewhere

export -f your_function