diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index a1647ad..5550c71 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -17,9 +17,15 @@ else export ANDROID_AVD_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android/.android/avd" fi +# -- Python +if [[ "$OSTYPE" == "darwin"* ]]; then + export PYTHONNOUSERSITE=1 +fi + # -- Path if [[ "$OSTYPE" == "darwin"* ]]; then LOCAL_PATH=$(du "$HOME/.local/bin/" | cut -f2 > /tmp/path && paste -sd ':' /tmp/path) + LOCAL_PATH="$HOME/Library/Python/3.10/bin:$LOCAL_PATH" elif [[ "$OSTYPE" == "linux-gnu" ]]; then LOCAL_PATH="$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')${PATH:+:${PATH}}" fi diff --git a/.config/zsh/aliases b/.config/zsh/aliases index cac347b..472debb 100644 --- a/.config/zsh/aliases +++ b/.config/zsh/aliases @@ -3,7 +3,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then # i need sudo to launch emulator alias pixelemu="sudo $HOME/Library/Android/sdk/emulator/emulator @Pixel_2_API_28" - alias brew="sudo -H -u maintenance brew" + alias mbrew="sudo -H -u maintenance -g staff brew" fi alias punten='doas'