diff --git a/modules/perl/init.zsh b/modules/perl/init.zsh index 6270128..8ba873d 100644 --- a/modules/perl/init.zsh +++ b/modules/perl/init.zsh @@ -31,12 +31,6 @@ if [[ "$OSTYPE" == darwin* ]]; then unset perl_path unset cache_file - - # Set environment variables for launchd processes. - for env_var in PERL_LOCAL_LIB_ROOT PERL_MB_OPT PERL_MM_OPT PERL5LIB; do - launchctl setenv "$env_var" "${(P)env_var}" &! - done - unset env_var fi # diff --git a/runcoms/zlogin b/runcoms/zlogin index e27e233..32f28cf 100644 --- a/runcoms/zlogin +++ b/runcoms/zlogin @@ -12,13 +12,6 @@ if [[ -s "$zcompdump" && (! -s "${zcompdump}.zwc" || "$zcompdump" -nt "${zcompdump}.zwc") ]]; then zcompile "$zcompdump" fi - - # Set environment variables for launchd processes. - if [[ "$OSTYPE" == darwin* ]]; then - for env_var in PATH MANPATH; do - launchctl setenv "$env_var" "${(P)env_var}" - done - fi } &! # Print a random, hopefully interesting, adage.