-
-
Save morygonzalez/2478240 to your computer and use it in GitHub Desktop.
Earthquake.gemのプロンプトにユーザー名を出すよ!プラグイン(色つき)
This file contains hidden or 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
# coding: UTF-8 | |
Earthquake.init do | |
once do | |
user = twitter.info['screen_name'] | |
config[:prompt] = user.c(color_of(user)) + config[:prompt] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
プロンプトに名前が出るやつ、色つきにしました。