2008-04-18から1日間の記事一覧

RSpec の spec.opts って毎回用意しなきゃいけないのかな?

spec.opts はいつも以下のような内容のを使っているので これをデフォルトの設定にしちゃいたい。 -c --drb -fs毎回 spec/spec.opts をコピーして作るのはちょっとめんどくさい。

eshell で ansi-color に対応にする方法

僕は以下のような設定を .emacs に追加しているのだけど (setq eshell-output-filter-functions (list 'eshell-handle-ansi-color 'eshell-handle-control-codes 'eshell-watch-for-password-prompt)) (add-hook 'eshell-mode-hook 'ansi-color-for-comint-m…