From c5c90d1f2d58d267f253ae8d0b7d509230e5cad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Fo=CC=88rster?= Date: Mon, 31 Mar 2025 22:50:39 +0200 Subject: [PATCH] some small changes --- .commonrc | 5 ++++- .zshrc | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 ~