Skip to content

Instantly share code, notes, and snippets.

@sss
Forked from ryumu/screen_name_prompt.rb
Created April 21, 2011 14:12
Show Gist options
  • Save sss/934601 to your computer and use it in GitHub Desktop.
Save sss/934601 to your computer and use it in GitHub Desktop.
Earthquake.gemのプロンプトにユーザー名を出すよ!プラグイン
# coding: UTF-8
Earthquake.init do
once do
config[:prompt] = twitter.info['screen_name'] + config[:prompt]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment