git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-web--browse: Add support for opera

From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date
Nov 27, 2010, 11:15 UTC
Message-ID
<1290856558-6122-1-git-send-email-giuseppe.bilotta@gmail.com>

It's probably not the most widespread browser, it's free as in gratis but not as in libre, but it's worth supporting regardless, especially since it's a trivial addition.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
---
 git-web--browse.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/git-web--browse.sh b/git-web--browse.sh
index 3fc4166..eb70375 100755
--- a/git-web--browse.sh
+++ b/git-web--browse.sh
@@ -31,7 +31,7 @@ valid_custom_tool()
 
 valid_tool() {
 	case "$1" in
-		firefox | iceweasel | chrome | google-chrome | chromium | konqueror | w3m | links | lynx | dillo | open | start)
+		firefox | iceweasel | chrome | google-chrome | chromium | konqueror | opera | w3m | links | lynx | dillo | open | start)
 			;; # happy
 		*)
 			valid_custom_tool "$1" || return 1
@@ -103,7 +103,7 @@ fi
 
 if test -z "$browser" ; then
     if test -n "$DISPLAY"; then
-	browser_candidates="firefox iceweasel google-chrome chrome chromium konqueror w3m links lynx dillo"
+	browser_candidates="firefox iceweasel google-chrome chrome chromium konqueror opera w3m links lynx dillo"
 	if test "$KDE_FULL_SESSION" = "true"; then
 	    browser_candidates="konqueror $browser_candidates"
 	fi
@@ -173,7 +173,7 @@ case "$browser" in
     start)
         exec "$browser_path" '"web-browse"' "$@"
         ;;
-    dillo)
+    opera|dillo)
 	"$browser_path" "$@" &
 	;;
     *)
-- 
1.7.3.2.184.gecaee
Next: Giuseppe Bilotta
Message 1 of 2 in “git-web--browse: Add support for opera”
  1. git-web--browse: Add support for operaGiuseppe Bilotta, Nov 27, 2010
  2. Giuseppe BilottaNov 27, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.