zsh: update mirror function and add autocompletion for it