[from now] 2014/10/18 11:50:24

diff --git a/.tmux.conf b/.tmux.conf
index 2a6c631..950677f 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -3,8 +3,8 @@ set -g bell-action none
 set -g history-limit 21000
 set -g default-terminal screen-256color
 set -g status-interval 1
-set -g status-left '#[bg=red,fg=black] #S '
-set -g status-right "%Y/%m/%d#[bg=red,fg=black]%a#[bg=black,fg=white]%I:%M:%S "
+set -g status-left '#(.tmux/status-left.rb)'
+set -g status-right '#(.tmux/status-right.rb)'
 set -g status-fg white
 set -g status-bg black
 set -g message-fg white
diff --git a/.tmux/status-left.rb b/.tmux/status-left.rb
new file mode 100755
index 0000000..06ac1ae
--- /dev/null
+++ b/.tmux/status-left.rb
@@ -0,0 +1,2 @@
+#!/usr/bin/env ruby
+print '#[bg=red,fg=black] #S '
diff --git a/.tmux/status-right.rb b/.tmux/status-right.rb
new file mode 100755
index 0000000..562ecd9
--- /dev/null
+++ b/.tmux/status-right.rb
@@ -0,0 +1,27 @@
+#!/usr/bin/env ruby
+
+# Load Average
+load_avg = `uptime | awk '{print $(NF-2)}'`.chomp.to_f
+
+if load_avg > 0.7
+  load_bg = '#[bg=red]'
+elsif load_avg > 0.5
+  load_bg = '#[bg=yellow]'
+else
+  load_bg = '#[bg=green]'
+end
+
+# Date
+now = Time.now
+date = now.strftime('%Y/%m/%d')
+day  = now.strftime('%a')
+time = now.strftime('%H:%M:%S')
+
+if now.strftime('%u').to_i > 5
+  day_bg = '#[bg=magenta]'
+else
+  day_bg = '#[bg=blue]'
+end
+
+# Status
+print "#{load_bg}load:#{load_avg}#[bg=black] #{date}#{day_bg}#{day}#[bg=black,fg=white]#{time} "
diff --git a/.zshrc b/.zshrc
index 9683f7d..8e0d0b7 100644
--- a/.zshrc
+++ b/.zshrc
@@ -26,10 +26,13 @@ alias rm='rm -i'
 alias cp='cp -i'
 alias mv='mv -i'
 alias ll='ls -l'
-alias la='ls -lA'
+alias la='ls -A'
+alias lla='ls -lA'
+alias ltr='ls -ltr'
 alias rake='noglob rake'
 alias .='source'
 alias gist='gist -poc'
+alias hist='history -i 1 | sort -r | less'

 case $(uname) in
 Linux)
diff --git a/Rakefile b/Rakefile
index da77e60..cafcccf 100644
--- a/Rakefile
+++ b/Rakefile
@@ -81,7 +81,6 @@ namespace "brew" do
       firefox
       google-chrome
       handbrake
-      musicmanager
       onepassword
       scansnap-manager
       skype
[from now] 2014/10/19 23:23:41

diff --git a/.screenrc b/.screenrc
index 2d9b5da..1259735 100644
--- a/.screenrc
+++ b/.screenrc
@@ -6,8 +6,8 @@ termcapinfo xterm-256color hs@:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l\E[?1;4;6l
 vbell off
 startup_message off
 defscrollback 21000
-defencoding utf-8
-encoding utf-8
+defencoding euc-jp
+encoding euc-jp utf8
 hardstatus off
 caption always "%{= kw}%0C:%s %{= kd}%-w%{= ck}%n %t%{-}%+w"
 shelltitle "$ | bash"