Permalink
Browse files

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

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
1 parent 2ad1f9b commit 1698ce8f86f446ed481b182d06fbaa9755a0c894 @trofi committed Mar 26, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 .irssi/scripts/autorun/pm.pl
  2. +1 −1 .irssi/scripts/autorun/qo.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');
@@ -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');

0 comments on commit 1698ce8

Please sign in to comment.