Check path_helper exists before invoking it
This commit is contained in:
parent
f119d5e9c9
commit
5f6c9d8937
1 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,9 @@ export DEFAULT_USER="jonny"
|
|||
|
||||
# Autoadd to PATH (neede for MacTex)
|
||||
# It prepends to $PATH, so we do it first then add our own
|
||||
if [[ -f /usr/libexec/path_helper ]]; then
|
||||
eval $(/usr/libexec/path_helper)
|
||||
fi
|
||||
|
||||
# Add our own dirs to the $PATH
|
||||
export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/opt/homebrew/sbin:/usr/local/sbin:/usr/sbin:/sbin:$HOME/.local/bin"
|
||||
|
|
Loading…
Add table
Reference in a new issue