diff --git a/oh-my-zsh/themes/agnoster-custom.zsh-theme b/oh-my-zsh/themes/agnoster-custom.zsh-theme index 8e01ccc..22653e3 100644 --- a/oh-my-zsh/themes/agnoster-custom.zsh-theme +++ b/oh-my-zsh/themes/agnoster-custom.zsh-theme @@ -121,7 +121,7 @@ prompt_git() { mode=">R>" fi - remote="$(git remote -v | grep origin | awk '{print $2}' | head -n 1 2>/dev/null)" + remote="$(git ls-remote --get-url 2>/dev/null)" setopt promptsubst autoload -Uz vcs_info