zsh: fix hyve function for *BSD
zsh: fix path duplicates for subshells