Permalink
Browse files

Prefix the prompt with the name of the wrapped command, e.g. 'gem>>'

  • Loading branch information...
1 parent d1f9f6c commit d872add41d80a01cc8ba31e9cc8a04e690b1b739 @citizen428 citizen428 committed with May 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/repl
View
@@ -87,7 +87,7 @@ if debug
end
loop do
- print ENV['REPL_PROMPT'] || '>> '
+ print ENV['REPL_PROMPT'] || "#{ARGV[0]}>> "
begin
line = $stdin.gets.chomp

0 comments on commit d872add

Please sign in to comment.