File: urlgrab.pl.diff

package info (click to toggle)
irssi-scripts 20100512
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,420 kB
  • ctags: 2,479
  • sloc: perl: 58,204; sh: 171; makefile: 33
file content (11 lines) | stat: -rw-r--r-- 272 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/scripts/urlgrab.pl
+++ b/scripts/urlgrab.pl
@@ -33,7 +33,7 @@
 	  Irssi::print("No url captured yet");
 	  return;
    }
-   system("netscape-remote -remote 'openURL($lasturl)' &>/dev/null");
+   system("sensible-browser $lasturl &>/dev/null");
 }
 
 sub find_url {