summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-05-30 02:23:27 -0500
committerJesse Luehrs <doy@tozt.net>2013-05-30 02:23:27 -0500
commit34218fd2af78b254dd424de2289981621ee85f94 (patch)
tree6285e43c4d6f1960af973c45dffb901104836ff4 /bin
parent30443a17d94ddee3b5343aefeebb46e8b7383bc1 (diff)
downloadreply-34218fd2af78b254dd424de2289981621ee85f94.tar.gz
reply-34218fd2af78b254dd424de2289981621ee85f94.zip
use ini configuration, not perl
Diffstat (limited to 'bin')
-rw-r--r--bin/repl30
1 files changed, 12 insertions, 18 deletions
diff --git a/bin/repl b/bin/repl
index 9b41333..f41f4fd 100644
--- a/bin/repl
+++ b/bin/repl
@@ -7,7 +7,7 @@ use App::REPL;
my $cfg = "$ENV{HOME}/.replrc";
-my %args = (script => $cfg);
+my %args = (config => $cfg);
if (!-e $cfg) {
print("$cfg not found. Generating a default...\n");
if (open my $fh, '>', $cfg) {
@@ -23,20 +23,14 @@ if (!-e $cfg) {
App::REPL->new(%args)->run;
__DATA__
-load_plugin
- 'Interrupt',
-
- 'FancyPrompt',
- 'DataDumper',
-
- 'Colors',
- 'ReadLine',
- 'Hints',
- 'Packages',
- 'LexicalPersistence',
- ;
-
-postlude <<POSTLUDE;
-use strict;
-use warnings;
-POSTLUDE
+script_line1 = use strict
+script_line2 = use warnings
+
+[Interrupt]
+[FancyPrompt]
+[DataDumper]
+[Colors]
+[ReadLine]
+[Hints]
+[Packages]
+[LexicalPersistence]