Created
September 27, 2013 20:13
-
-
Save aleohl/6734527 to your computer and use it in GitHub Desktop.
irssi one-liner for closing all queries.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/script exec foreach my $w ( Irssi::windows() ) {my $act = $w->{active};next unless defined $act->{type};$w->command("window close") if $act->{type} eq 'QUERY';} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment