1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

20199: improve MIME handling.

This commit is contained in:
Peter Stephenson 2004-07-26 16:59:53 +00:00
parent 17e576782c
commit 8c9a6b01d1
9 changed files with 175 additions and 7 deletions

View file

@ -82,8 +82,13 @@ if [[ -n $DISPLAY ]]; then
for browser in $xbrowsers; do
if [[ $windows[(I)(#i)$browser] -ne 0 ]]; then
if [[ $browser = konqueror ]]; then
# I'm sure there's documentation for this somewhere...
dcop $(dcop|grep konqueror) default openBrowserWindow $url
# kfmclient is less hairy and better supported than direct
# use of dcop. Run kfmclient --commands
# for more information. Note that as konqueror is a fully
# featured file manager, this will actually do complete
# MIME handling, not just web pages.
kfmclient openURL $url ||
dcop $(dcop|grep konqueror) default openBrowserWindow $url
else
# Mozilla bells and whistles are described at:
# http://www.mozilla.org/unix/remote.html