From: ferret Date: Sun, 28 Sep 2014 09:04:05 +0000 (+0100) Subject: Update go.pl X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=dbaec4df48d99818ad13a25352c991c9ccb529b1;p=irssi-scripts.irssi.org.git Update go.pl Change tab completion to match /go but not other command beginning with /go (e.g. /google) --- diff --git a/scripts/go.pl b/scripts/go.pl index 3ca6744..34bf000 100644 --- a/scripts/go.pl +++ b/scripts/go.pl @@ -24,7 +24,7 @@ sub signal_complete_go { my $channel = $window->get_active_name(); my $k = Irssi::parse_special('$k'); - return unless ($linestart =~ /^\Q${k}\Ego/i); + return unless ($linestart =~ /^\Q${k}\Ego\b/i); @$complist = (); foreach my $w (Irssi::windows) {