diff --git a/zsh/utility b/zsh/utility index 95d538e..95eb5f3 100644 --- a/zsh/utility +++ b/zsh/utility @@ -35,8 +35,8 @@ OPEN_CURRENT_GIT_REPOSITORY_IN_WEB_BROWSER() { } local URL="$(git remote get-url $REMOTE | sed 's/git@\([^:]*\):/http:\/\/\1\//')" [ "$WEBBROWSER" ]\ - && "$WEBBROWSER $URL" >/dev/null 2>&1 \ - || dg-open $URL >/dev/null 2>&1 \ + && $WEBBROWSER $URL >/dev/null 2>&1 \ + || xdg-open $URL >/dev/null 2>&1 \ || echo $URL; }