diff options
author | Florian Pritz <bluewind@xinu.at> | 2021-05-23 18:18:26 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2021-05-23 18:18:26 +0200 |
commit | 0b717e67342afe7f7f67a4954e90ee2b6a3634e1 (patch) | |
tree | 944121cdb9d6703a6fb49649e93d5d87b71f6d2e | |
parent | db2c35ff5a6578ece0b1785e2c0791aaae7654b5 (diff) | |
download | dotfiles-master.tar.gz dotfiles-master.tar.xz |
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | .zshrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -880,8 +880,9 @@ fi #export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/keyring/ssh" -if [[ -e ~/perl5 ]]; then - 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})" +if [[ -e ~/.local/perl/ ]]; then + perl_api_ver=$(perl -MConfig -e'print $Config{api_version}') + eval "$(perl -I$HOME/.local/perl/5.${perl_api_ver}/lib/perl5/ -Mlocal::lib=--deactivate-all,$HOME/.local/perl/5.${perl_api_ver})" fi #if type keychain >/dev/null; then |