summaryrefslogtreecommitdiffstats
path: root/scripts/guts.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/guts.pl')
-rw-r--r--scripts/guts.pl21
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/guts.pl b/scripts/guts.pl
new file mode 100644
index 0000000..a1288c0
--- /dev/null
+++ b/scripts/guts.pl
@@ -0,0 +1,21 @@
+use strict;
+use vars qw($VERSION %IRSSI);
+
+use Irssi qw(signal_add_last settings_add_bool settings_add_str
+ settings_get_bool settings_get_str);
+$VERSION = '1.00';
+%IRSSI = (
+ authors => 'Juerd',
+ contact => 'juerd@juerd.nl',
+ name => 'German Uppercased Tab Stuff',
+ description => 'Adds the uppercased version of the tab completes',
+ license => 'Public Domain',
+ url => 'http://juerd.nl/irssi/',
+ changed => 'Sat May 18 21:40 CET 2002',
+);
+
+signal_add_last 'complete word' => sub {
+ my ($complist, $window, $word, $linestart, $want_space) = @_;
+ push @$complist, ucfirst $word;
+}
+