Permalink
Browse files

call File.expand_path on history_file

  • Loading branch information...
1 parent 0aa366f commit fe425e11b013a42aa562c1da7dd313fca48a41b6 @martoche martoche committed Mar 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard/interactor.rb
View
@@ -87,7 +87,7 @@ def initialize
Pry.config.should_load_rc = false
Pry.config.should_load_local_rc = false
- Pry.config.history.file = self.class.options[:history_file] || HISTORY_FILE
+ Pry.config.history.file = File.expand_path(self.class.options[:history_file] || HISTORY_FILE)
add_hooks

0 comments on commit fe425e1

Please sign in to comment.