Skip to content

Instantly share code, notes, and snippets.

@zzak
Last active December 11, 2015 20:08
Show Gist options
  • Save zzak/4652812 to your computer and use it in GitHub Desktop.
Save zzak/4652812 to your computer and use it in GitHub Desktop.
IRB.conf[:PROMPT][:SIMPLE] with continuation statements
IRB.conf[:PROMPT][:MY_PROMPT] = IRB.conf[:PROMPT][:SIMPLE].merge(
:PROMPT_S=>"%l>> ",
:PROMPT_C=>"*>> ",
)
IRB.conf[:PROMPT_MODE] = :MY_PROMPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment