diff --git a/.commonrc b/.commonrc index 87b846d..7fd96e4 100755 --- a/.commonrc +++ b/.commonrc @@ -1,4 +1,5 @@ + # Solarized (mostly) dark skin for Midnight Commander export MC_SKIN=$HOME/.config/mc/skins/solarized.ini export EDITOR=vim @@ -17,6 +18,8 @@ fi # use ~/.commonrc.local for local changes, proxy etc. [[ -f "$HOME/.commonrc.local" ]] && source "$HOME/.commonrc.local" -eval "$(/opt/homebrew/bin/brew shellenv)" +if [[ $OSTYPE == 'darwin'* ]]; then + eval "$(/opt/homebrew/bin/brew shellenv)" +fi cd ~ diff --git a/.zshrc b/.zshrc index 95c874e..b5cff7d 100644 --- a/.zshrc +++ b/.zshrc @@ -97,3 +97,5 @@ PERL5LIB="/Users/eragos/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5L PERL_LOCAL_LIB_ROOT="/Users/eragos/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; PERL_MB_OPT="--install_base \"/Users/eragos/perl5\""; export PERL_MB_OPT; PERL_MM_OPT="INSTALL_BASE=/Users/eragos/perl5"; export PERL_MM_OPT; + +cd ~