diff options
| -rw-r--r-- | _data/scripts.yaml | 4 | ||||
| -rw-r--r-- | scripts/go.pl | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/_data/scripts.yaml b/_data/scripts.yaml index 8551c27..b17615a 100644 --- a/_data/scripts.yaml +++ b/_data/scripts.yaml @@ -1534,10 +1534,10 @@ contact: "nohar@freenode" description: "Implements /go command that activates a window given a name/partial name. It features a nice completion." filename: "go.pl" - modified: "2004-08-17 00:00:00" + modified: "2014-10-19 00:00:00" license: "GPLv2 or later" name: "go to window" - version: "1.00" + version: "1.01" - authors: "cxreg" contact: "cxreg@pobox.com" diff --git a/scripts/go.pl b/scripts/go.pl index 3ca6744..b656a0f 100644 --- a/scripts/go.pl +++ b/scripts/go.pl @@ -8,7 +8,7 @@ use Irssi::Irc; # If you are in #irssi you can type /go #irssi or /go irssi or even /go ir ... # also try /go ir<tab> and /go <tab> (that's two spaces) -$VERSION = '1.00'; +$VERSION = '1.01'; %IRSSI = ( authors => 'nohar', @@ -16,7 +16,7 @@ $VERSION = '1.00'; name => 'go to window', description => 'Implements /go command that activates a window given a name/partial name. It features a nice completion.', license => 'GPLv2 or later', - changed => '08-17-04' + changed => '2014-10-19' ); sub signal_complete_go { @@ -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) { |
