Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joshua Clayton
committed
Jul 4, 2009
1 parent
fb27fa4
commit 6095a57
Showing
5 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,11 +1,11 @@ | |||
require 'rubygems' | require "rubygems" | ||
|
|
||
def require_rb_files_from(dir) | def require_rb_files_from(dir) | ||
Dir.glob(File.join(dir, '*.rb')) do |file| | Dir.glob(File.join(dir, "*.rb")) do |file| | ||
require file | require file | ||
end | end | ||
end | end | ||
|
|
||
require_rb_files_from(File.join(ENV['HOME'], '.irb_scripts.d')) | require_rb_files_from(File.join(ENV["HOME"], ".irbrc.d")) | ||
|
|
||
IRB.conf[:PROMPT_MODE] = :SIMPLE | IRB.conf[:PROMPT_MODE] = :SIMPLE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1 @@ | |||
require 'irb/completion' | require "irb/completion" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters