Skip to content

Commit

Permalink
Ruby: Set quote characters.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebrock committed Dec 21, 2016
1 parent 82cf976 commit b9d4d6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9d4d6c

Please sign in to comment.