zsh: fix local function