#!/bin/zsh # zsh0 - symlink-wrapper to run functions from .zshrc as scripts . ~/.zshrc ${functions[(i)$0:t]:?no such function} "$@"