Commits

seydar committed bf3b308 Draft

updated the word boundary list to better reflect the stuff suggested by readline

Comments (0)

Files changed (1)

lib/chitin/session.rb

       @editor  = Coolline.new do |c|
         # Remove the default of '-' and add support for strings
         # starting after parentheses.
-        c.word_boundaries = [' ', "\t", "(", ")", '[', ']']
+        c.word_boundaries = [' ', "\t", "(", ")", '[', ']', '`', '@', '$', '>',
+                             '<', '=', ';', '|', '&', '{', '}']
         c.history_file    = File.join ENV['HOME'], '.chitin_history'
 
         # Make sure we don't kill the shell accidentally when we're trying to