root/dotfiles/screen/cho45/.screen/init-daemon.rb @ 6731

Revision 6731, 0.7 kB (checked in by cho45, 5 years ago)

dotfiles/screen/cho45/.screen/init-daemon.rb:

ハードステータスの変

  • Property svn:executable set to *
Line 
1#!/usr/bin/env ruby
2
3require "fileutils"
4include FileUtils
5
6# Q でとじる
7# R で再起動
8system("screen", "-X", "eval", "zombie QR")
9
10system("screen", "-X", "eval", 'hardstatus alwayslastline "%-w %{.r.}%{!}%n%f%t%{dd} %+w"')
11system("screen", "-X", "eval", 'backtick 0')
12
13cd File.expand_path("~")
14system("screen", "-t", "T[main]", "zsh", "-c", "tiarra --config=tiarra.conf")
15system("screen", "-t", "T[chokan]", "zsh", "-c", "tiarra --config=chokan.conf")
16
17
18cd File.expand_path("~")
19cd "coderepos/lang/perl/mobirc/trunk"
20system("screen", "-t", "mobirc", "zsh", "-c", "DEBUG=1 ./mobirc")
21
22cd File.expand_path("~")
23cd "coderepos/lang/ruby"
24system("screen")
25
26exec("irssi") # このプロセス window:0 は irssi に
27
Note: See TracBrowser for help on using the browser.