X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/1a578fd007c8ba4196e424f993ce55837649d78b..4fa653d992e741dd96b3c58a265b2fb71cd8b0b7:/etc/zsh/.zshenv?ds=inline diff --git a/etc/zsh/.zshenv b/etc/zsh/.zshenv index 6a513e2..8bf4cbe 100644 --- a/etc/zsh/.zshenv +++ b/etc/zsh/.zshenv @@ -288,9 +288,9 @@ if [[ ! -v GNUPGHOME ]] { ## perl local lib [[ ! -v PERL_LOCAL_LIB_ROOT && -v commands[perl] && - -d $XDG_DATA_HOME/perl5/lib/perl5 ]] && - eval $(perl -I$XDG_DATA_HOME/perl5/lib/perl5 \ - -Mlocal::lib=$XDG_DATA_HOME/perl5 2>/dev/null) + -d ${XDG_DATA_HOME:-~/.local/share}/perl5/lib/perl5 ]] && + eval $(perl -I${XDG_DATA_HOME:-~/.local/share}/perl5/lib/perl5 \ + -Mlocal::lib=${XDG_DATA_HOME:-~/.local/share}/perl5 2>/dev/null) ## go if [[ -v commands[go] ]] {