Skip to content

Instantly share code, notes, and snippets.

@jugyo
Created April 30, 2009 06:21
Show Gist options
  • Save jugyo/104297 to your computer and use it in GitHub Desktop.
Save jugyo/104297 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
config.plugins.mark.set_default(:text, '<on_green>' + (' ' * 30) + '#mark' + (' ' * 30) + '</on_green>')
Termtter::Client.register_command(
:name => :mark, :alias => :m,
:exec => lambda {|arg|
puts TermColor.parse(config.plugins.mark.text)
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment