Commit | Line | Data |
---|---|---|
4d33251a | 1 | package Devel::REPL::Profile::Default; |
2 | ||
3 | use Moose; | |
4 | use namespace::clean -except => [ 'meta' ]; | |
5 | ||
6 | with 'Devel::REPL::Profile'; | |
7 | ||
8 | sub plugins { | |
91d1e9ff | 9 | qw(History LexEnv DDS Packages Commands MultiLine::PPI); |
4d33251a | 10 | } |
11 | ||
12 | sub apply_profile { | |
13 | my ($self, $repl) = @_; | |
14 | $repl->load_plugin($_) for $self->plugins; | |
15 | } | |
16 | ||
17 | 1; |