Add Custom fish functions for configurable users.

This includes the previous pull request and is based on it.