From e66dce41bccc73867efde01958d8d51f11041706 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 19 Feb 2006 21:20:43 +0000 Subject: 22285: assorted fixes: _imagemagick files intro.yo list of other manual pages pick-web-browser: add firefox zsh-mime-setup: list consistent with styles for zsh-mime-handler --- Functions/MIME/pick-web-browser | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Functions/MIME/pick-web-browser') diff --git a/Functions/MIME/pick-web-browser b/Functions/MIME/pick-web-browser index 1a73b4de7..665b0db54 100644 --- a/Functions/MIME/pick-web-browser +++ b/Functions/MIME/pick-web-browser @@ -28,7 +28,7 @@ local -a xbrowsers ttybrowsers # a remote URL. You can change the order of preference. # If none is already running, starts the first in the array. zstyle -a :mime: x-browsers xbrowsers || - xbrowsers=(mozilla netscape opera konqueror) + xbrowsers=(firefox mozilla netscape opera konqueror) # Preferred command line browser. Used if there is on $DISPLAY set. zstyle -a :mime: tty-browsers ttybrowsers || ttybrowsers=(links lynx) @@ -89,6 +89,9 @@ if [[ -n $DISPLAY ]]; then # MIME handling, not just web pages. kfmclient openURL $url || dcop $(dcop|grep konqueror) default openBrowserWindow $url + elif [[ $browser = firefox ]]; then + # open in new tab: should make this customizable + $browser -new-tab $url else # Mozilla bells and whistles are described at: # http://www.mozilla.org/unix/remote.html -- cgit v1.2.3