Skip to content
Permalink
Browse files

Ruby: Set quote characters.

  • Loading branch information
georgebrock committed Dec 21, 2016
1 parent 82cf976 commit b9d4d6c999200c6d46b2457e4027c08ba58a7260
Showing with 2 additions and 0 deletions.
  1. +2 −0 main.rb
@@ -7,6 +7,8 @@
"Zaphod Beeblebrox",
].freeze

Readline.completer_quote_characters = "\"'"

Readline.completion_proc = proc do |input|
CHARACTER_NAMES.select { |name| name.start_with?(input) }
end

0 comments on commit b9d4d6c

Please sign in to comment.
You can’t perform that action at this time.