Move functions from config.fish to functions.