summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index e0b6517..4104e0f 100644
--- a/.zshrc
+++ b/.zshrc
@@ -878,7 +878,7 @@ fi
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/keyring/ssh"
if [[ -e ~/perl5 ]]; then
- eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
+ eval "$(api_ver=$(perl -MConfig -e'print $Config{api_version}') && perl -I$HOME/.local/perl5.${api_ver}/lib/perl5/ -Mlocal::lib=--deactivate-all,$HOME/.local/perl5.${api_ver})"
fi
#if type keychain >/dev/null; then