From dbaec4df48d99818ad13a25352c991c9ccb529b1 Mon Sep 17 00:00:00 2001 From: ferret Date: Sun, 28 Sep 2014 10:04:05 +0100 Subject: Update go.pl Change tab completion to match /go but not other command beginning with /go (e.g. /google)--- scripts/go.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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) { -- cgit v1.2.3