Created
January 12, 2012 15:14
-
-
Save alphaneet/1601051 to your computer and use it in GitHub Desktop.
sbt の prompt に表示される文字を変更する方法。つhttp://d.hatena.ne.jp/alpha_neet/20120112/1326381255
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sbt._ | |
// 一般的な sbt project では Keys._ をするが、どこで使用してるか分かりやすくするためコメントアウト | |
//import Keys._ | |
object MyBuild extends Build { | |
val prompt = "oppai> " | |
lazy val root = Project( | |
id = "root", | |
base = file("."), | |
settings = Defaults.defaultSettings ++ Seq( Keys.shellPrompt := { _ => prompt }) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment