Moved MongoDB replica set config into ZSH function