summaryrefslogtreecommitdiffstats
path: root/vagrant_support/repl.rc
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-07-21 21:03:16 +0200
committerGitHub <noreply@github.com>2017-07-21 21:03:16 +0200
commit87fed0b46b4b7868f0c15a9f6fb7a4291b4bbc1f (patch)
treedc6c164fd7332848808375fc21d09dd1799b34f5 /vagrant_support/repl.rc
parentaed295eb4dd4f78d358a46b7aff61f31e2056f67 (diff)
downloadbugzilla-87fed0b46b4b7868f0c15a9f6fb7a4291b4bbc1f.tar.gz
bugzilla-87fed0b46b4b7868f0c15a9f6fb7a4291b4bbc1f.tar.xz
better defaults for re.pl
Diffstat (limited to 'vagrant_support/repl.rc')
-rw-r--r--vagrant_support/repl.rc28
1 files changed, 28 insertions, 0 deletions
diff --git a/vagrant_support/repl.rc b/vagrant_support/repl.rc
new file mode 100644
index 000000000..89ad089a5
--- /dev/null
+++ b/vagrant_support/repl.rc
@@ -0,0 +1,28 @@
+#!perl
+# vim: set ft=perl:
+use Bugzilla;
+use Bugzilla::Constants;
+Bugzilla->usage_mode(USAGE_MODE_CMDLINE);
+Bugzilla->extensions;
+use DDP return_value => 'void', colored => 1;
+
+my @plugins = qw(
+ Colors
+ Timing
+ Completion
+ CompletionDriver::INC
+ CompletionDriver::LexEnv
+ CompletionDriver::Keywords
+ CompletionDriver::Methods
+ History
+ LexEnv
+ DDS
+ Packages
+ Commands
+ MultiLine::PPI
+ ReadLineHistory::WithoutExpansion
+ Peek
+);
+
+$_REPL->load_plugin($_) for @plugins;
+