commit a90d21b7a0f1baf629f039f41a34bd219083c617 (patch)
parent 01451f2e29ea9a5a49d68b765cd0d97a56d6cc6d
Author: Alex Karle <alex@alexkarle.com>
Date: Wed, 29 Dec 2021 21:28:10 -0500
perl: Move perldb config to an env var
This is partially to have one less dotfile--it's also in an effort
to make all the config my-own so I can put a LICENSE on it!
Diffstat:
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/.perldb b/.perldb
@@ -1,3 +0,0 @@
-# Save all history to ~/.perldb.hist
-&parse_options("HistFile=$ENV{HOME}/.perldb.hist");
-&parse_options("HistSize=10000");
diff --git a/.shrc b/.shrc
@@ -14,6 +14,7 @@ export VISUAL=vi # Some programs give priority to this
export PAGER=less # less is more
export PERL5LIB="$HOME/perl5/lib/perl5" # default cpanminus location
export MANPATH=":$HOME/share/man"
+export PERLDB_OPTS="HistFile=$HOME/.perldb_histo HistSize=10000"
# Aliases
alias l='ls -1AhF'