zshrc: Fix position of homebrew/bin in $PATH

This commit is contained in:
Jannik Beyerstedt 2026-03-20 12:22:43 +01:00
parent 3a4f5d2d3a
commit 114ae08921

View file

@ -1,4 +1,15 @@
# Unified zshrc of Jannik Beyerstedt # Unified zshrc of Jannik Beyerstedt
typeset -aU path
{% if (override_os_family is defined) | ternary(override_os_family,ansible_facts['os_family']) == "Darwin" %}
path=('/opt/homebrew/bin' $path)
export PATH
{% else %}
# If you come from bash you might have to change your $PATH.
# path=('$HOME/bin' $path)
# path=('/usr/local/bin' $path)
# export PATH
{% endif %}
export TERM=xterm-256color export TERM=xterm-256color
{% if usersetup_virtualenvwrapper|default(false)|bool %} {% if usersetup_virtualenvwrapper|default(false)|bool %}
VIRTUALENVWRAPPER_PYTHON=$(which python3) VIRTUALENVWRAPPER_PYTHON=$(which python3)
@ -7,9 +18,6 @@ VIRTUALENVWRAPPER_PYTHON=$(which python3)
DEFAULT_USER="jannik" DEFAULT_USER="jannik"
DISABLE_UPDATE_PROMPT=true DISABLE_UPDATE_PROMPT=true
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh export ZSH=$HOME/.oh-my-zsh