.dotfiles zsh function: replSet refactored