move Default profile to Standard; default profile is now Minimal
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Profile / Standard.pm
diff --git a/lib/Devel/REPL/Profile/Standard.pm b/lib/Devel/REPL/Profile/Standard.pm
new file mode 100644 (file)
index 0000000..29028f5
--- /dev/null
@@ -0,0 +1,29 @@
+package Devel::REPL::Profile::Standard;
+
+use Moose;
+use namespace::autoclean;
+
+with 'Devel::REPL::Profile';
+
+sub plugins { qw(
+  Colors
+  Completion
+  CompletionDriver::INC
+  CompletionDriver::LexEnv
+  CompletionDriver::Keywords
+  CompletionDriver::Methods
+  History
+  LexEnv
+  DDS
+  Packages
+  Commands
+  MultiLine::PPI
+  ReadLineHistory
+);}
+
+sub apply_profile {
+  my ($self, $repl) = @_;
+  $repl->load_plugin($_) for $self->plugins;
+}
+
+1;