From 449ac0ffbea94765b06bdf664d2041e043ff439a Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 6 Mar 2013 13:06:09 +0900 Subject: [PATCH] tmux def fg black --- tmux.conf.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmux.conf.pl b/tmux.conf.pl index 06beb4e..36ee220 100755 --- a/tmux.conf.pl +++ b/tmux.conf.pl @@ -12,7 +12,7 @@ my %color_prefs = ( "darwin-mba.local" => "red,white", "newkiwi" => "magenta,white" ); -my $color_def = "green,white"; +my $color_def = "green,black"; sub tmux { my @command = ($tmux_command, ); @@ -57,7 +57,7 @@ sub get_hostname { my $hostname = $ENV{"HOSTNAME"}; if (! $hostname) { $hostname = `hostname`; - $hostname =~ s/\n//; + chomp($hostname) } return $hostname; }