Move server command to zsh functions