summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-06-20 03:35:52 -0400
committerJesse Luehrs <doy@tozt.net>2021-06-20 03:35:52 -0400
commitaa9134eaee7b06c38bc7984b147ef46d9ad1999e (patch)
treeaa26075f491b58b2104bf04dbea6c547df2cc887
parent1dc1c1ce5bf2d54b42e20d6d62fb905c12ec5dec (diff)
downloadconf-aa9134eaee7b06c38bc7984b147ef46d9ad1999e.tar.gz
conf-aa9134eaee7b06c38bc7984b147ef46d9ad1999e.zip
bring back my reply configuration
-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]