zshrc: Fix position of homebrew/bin in $PATH
This commit is contained in:
parent
3a4f5d2d3a
commit
114ae08921
1 changed files with 11 additions and 3 deletions
|
|
@ -1,4 +1,15 @@
|
|||
# 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
|
||||
{% if usersetup_virtualenvwrapper|default(false)|bool %}
|
||||
VIRTUALENVWRAPPER_PYTHON=$(which python3)
|
||||
|
|
@ -7,9 +18,6 @@ VIRTUALENVWRAPPER_PYTHON=$(which python3)
|
|||
DEFAULT_USER="jannik"
|
||||
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.
|
||||
export ZSH=$HOME/.oh-my-zsh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue