Extract the functions to their own file. Fixes #13

The `functions.zsh` file would have to be sourced AFTER the completions are loaded.