Add zsh function "treeperms"