Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

~/.irssi/scripts: made sound player 'sh' compatible (used bash before)

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
commit 1698ce8f86f446ed481b182d06fbaa9755a0c894 1 parent 2ad1f9b
@trofi authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  .irssi/scripts/autorun/pm.pl
  2. +1 −1  .irssi/scripts/autorun/qo.pl
View
2  .irssi/scripts/autorun/pm.pl
@@ -16,7 +16,7 @@
sub query_up
{
my $sound="privmsg.wav";
- `aplay ~/.irssi/sounds/$sound >& /dev/null &`;
+ `aplay ~/.irssi/sounds/$sound >/dev/null 2>&1 &`;
}
Irssi::signal_add_last('message private', 'query_up');
View
2  .irssi/scripts/autorun/qo.pl
@@ -16,7 +16,7 @@
sub toc_toc
{
my $sound="query_open.wav";
- `aplay ~/.irssi/sounds/$sound >& /dev/null &`;
+ `aplay ~/.irssi/sounds/$sound >/dev/null 2>&1 &`;
}
Irssi::signal_add_last('query created', 'toc_toc');
Please sign in to comment.
Something went wrong with that request. Please try again.