## 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] ]] {