summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rwxr-xr-xbin/reply4
-rw-r--r--replyrc23
3 files changed, 26 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 13748aa..1d91b6c 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,7 @@ INSTALL := \
.mutt/offlineimap \
.nethackrc \
.profile \
+ .replyrc \
.screenrc \
.ssh/cao_key \
.tmux.conf \
diff --git a/bin/reply b/bin/reply
index fb64c02..64669d6 100755
--- a/bin/reply
+++ b/bin/reply
@@ -4,6 +4,6 @@ set -eu
podman images | grep -q localhost/reply || cat <<EOF | podman build -t reply -f -
FROM docker.io/debian:stable-slim
RUN apt-get update && apt-get install -y cpanminus make gcc
-RUN cpanm Reply
+RUN cpanm Reply B::Keywords Data::Dump Carp::Always
EOF
-podman run --rm -it reply reply "$@"
+podman run --rm -itv /home/doy/.replyrc:/root/.replyrc reply reply "$@"
diff --git a/replyrc b/replyrc
new file mode 100644
index 0000000..f1e57ae
--- /dev/null
+++ b/replyrc
@@ -0,0 +1,23 @@
+script_line1 = use strict
+script_line2 = use warnings
+script_line3 = use 5.022000
+script_line4 = use lib 'lib'
+
+[Autocomplete::Globals]
+[Autocomplete::Keywords]
+[Autocomplete::Lexicals]
+[Autocomplete::Methods]
+[Autocomplete::Packages]
+[Autocomplete::Functions]
+[Autocomplete::Commands]
+[Interrupt]
+[FancyPrompt]
+[DataDump]
+[Colors]
+[ReadLine]
+[Hints]
+[Packages]
+[LexicalPersistence]
+[LoadClass]
+[ResultCache]
+[CollapseStack]